metilol

ghz

Mar 19th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 27.14 KB | None | 0 0
  1. wait(0.1)
  2. --SUB TO METI AT NOTHING!
  3. ragdolld = false
  4. mouse = game.Players.LocalPlayer:GetMouse()
  5. function ragdoll(key)
  6.     key = key:lower()
  7.     if key == "r" and not ragdolld then
  8.         ragdolld = true
  9.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  10.         game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  11.         game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
  12.         if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
  13.             game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10
  14.             for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do
  15.                 if v.ClassName == "Motor6D" then
  16.                     if v.Name == "Neck" then
  17.                        
  18.                     else
  19.                         v:destroy()
  20.                     end
  21.                 end
  22.             end
  23.         end
  24.         if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then
  25.             local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  26.             attachment.Position = Vector3.new(1, 1, 0)
  27.             local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  28.             ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment
  29.             ball.Attachment1 = attachment
  30.             local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  31.             collidepartofleftleg.Name = "Bone"
  32.             collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  33.             collidepartofleftleg.Transparency = 1
  34.             collidepartofleftleg:BreakJoints()
  35.             local weeld = Instance.new("Weld", collidepartofleftleg)
  36.             weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  37.             weeld.Part1 = collidepartofleftleg
  38.             weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  39.         end
  40.         if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then
  41.             local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  42.             attachment.Position = Vector3.new(-1, 1, 0)
  43.             local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  44.             ball.Attachment0 = attachment
  45.             ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment
  46.             local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  47.             collidepartofleftleg.Name = "Bone"
  48.             collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  49.             collidepartofleftleg.Transparency = 1
  50.             collidepartofleftleg:BreakJoints()
  51.             local weeld = Instance.new("Weld", collidepartofleftleg)
  52.             weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  53.             weeld.Part1 = collidepartofleftleg
  54.             weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  55.         end
  56.         if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then
  57.             local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  58.             attachment.Position = Vector3.new(0.5, -1, 0)
  59.             local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  60.             ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment
  61.             ball.Attachment1 = attachment
  62.             game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  63.             local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  64.             collidepartofleftleg.Name = "Bone"
  65.             collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  66.             collidepartofleftleg.Transparency = 1
  67.             collidepartofleftleg:BreakJoints()
  68.             local weeld = Instance.new("Weld", collidepartofleftleg)
  69.             weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  70.             weeld.Part1 = collidepartofleftleg
  71.             weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  72.         end
  73.         if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then
  74.             local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  75.             attachment.Position = Vector3.new(-0.5, -1, 0)
  76.             local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  77.             ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment
  78.             ball.Attachment1 = attachment
  79.             game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  80.             local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  81.             collidepartofleftleg.Name = "Bone"
  82.             collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  83.             collidepartofleftleg.Transparency = 1
  84.             collidepartofleftleg:BreakJoints()
  85.             local weeld = Instance.new("Weld", collidepartofleftleg)
  86.             weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
  87.             weeld.Part1 = collidepartofleftleg
  88.             weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  89.         end
  90.         if game.Players.LocalPlayer.Character:findFirstChild("Head") then
  91.             local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head)
  92.             attachment.Position = Vector3.new(0, -0.5, 0)
  93.             attachment.Name = "lol"
  94.             attachment.Visible = false
  95.             game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false
  96.             game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  97.             local ball = Instance.new("HingeConstraint", game.Players.LocalPlayer.Character)
  98.             ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
  99.             ball.Attachment1 = attachment
  100.             local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  101.             collidepartofleftleg.Name = "Bone"
  102.             collidepartofleftleg.Size = Vector3.new(0.5,0.3,0.5)
  103.             collidepartofleftleg.Transparency = 1
  104.             collidepartofleftleg:BreakJoints()
  105.             local weeld = Instance.new("Weld", collidepartofleftleg)
  106.             weeld.Part0 = collidepartofleftleg
  107.             weeld.Part1 = game.Players.LocalPlayer.Character["Head"]
  108.             if game.Players.LocalPlayer.Character.Torso:findFirstChild("Neck") then
  109.                 game.Players.LocalPlayer.Character.Torso.Neck:destroy()
  110.             end
  111.         end
  112.         if game.Players.LocalPlayer.Character:findFirstChild("Head") then
  113.             workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Head
  114.             local aah = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  115.             if aah then
  116.                 aah.Volume = 8
  117.                 local aahmath = math.random(2,8)
  118.                 if aahmath == 2 then
  119.                     aah.SoundId = "rbxassetid://884348443"
  120.                     aah:Play()
  121.                 end
  122.                 if aahmath == 3 then
  123.                     aah.SoundId = "rbxassetid://535528169"
  124.                     aah.TimePosition = 0.3
  125.                     aah:Play()
  126.                 end
  127.                 if aahmath == 4 then
  128.                     aah.SoundId = "rbxassetid://1080363252"
  129.                     aah:Play()
  130.                 end
  131.                 if aahmath == 5 then
  132.                     aah.SoundId = "rbxassetid://150245085"
  133.                     aah:Play()
  134.                 end
  135.                 if aahmath == 6 then
  136.                     aah.SoundId = "rbxassetid://345287845"
  137.                     aah.TimePosition = 2.5
  138.                     aah:Play()
  139.                 end
  140.                 if aahmath == 7 then
  141.                     aah.SoundId = "rbxassetid://147758746"
  142.                     aah.TimePosition = 1.3
  143.                     aah:Play()
  144.                 end
  145.                 if aahmath == 8 then
  146.                     aah.SoundId = "rbxassetid://626777433"
  147.                     aah.TimePosition = 1.4
  148.                     aah:Play()
  149.                 end
  150.             end
  151.         end
  152.     end
  153. end
  154. mouse.KeyDown:connect(ragdoll)
  155.  
  156. --By Rufus14 (WORKS ONLY WITH BODY COLORS)
  157. canfall = true
  158. cankick = true
  159. canpunch = true
  160. function fall()
  161.     canfall = true
  162. end
  163. ma = math.random(1,999999)
  164. workspace.CurrentCamera.FieldOfView = 85
  165. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 25
  166. wlkspd = game.Players.LocalPlayer.Character.Humanoid.WalkSpeed
  167. falldamagesound = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  168. falldamagesound.SoundId = "rbxassetid://704141469"
  169. falldamagesound.Volume = 10
  170. falldamagesound1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  171. falldamagesound1.SoundId = "rbxassetid://370577229"
  172. falldamagesound1.Volume = 10
  173. falldamagesound1.Looped = true
  174. falldamagesound1:Play()
  175. falldamagesound11 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  176. falldamagesound11.SoundId = "rbxassetid://155288625"
  177. falldamagesound11.Volume = 8
  178. falldamagesound11.TimePosition = 0.2
  179. hitt = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Arm"])
  180. hitt.SoundId = "rbxassetid://131237241"
  181. hitt.Volume = 5
  182. game.Players.LocalPlayer.Character.Humanoid.FreeFalling:connect(fall)
  183. mouse = game.Players.LocalPlayer:GetMouse()
  184. group = Instance.new("Model", workspace)
  185. group.Name = ma
  186. fakehumanoid = Instance.new("Humanoid", group)
  187. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  188.     if v.ClassName == "Part"  then
  189.         v.Transparency = 1
  190.     end
  191. end
  192. game.Players.LocalPlayer.Character.Head.Transparency = 0
  193. game.Players.LocalPlayer.Character.Archivable = true
  194. wait(0.5)
  195. --
  196. rhand = Instance.new("Part", group)
  197. rhand.Size = game.Players.LocalPlayer.Character["Right Arm"].Size
  198. rhand.TopSurface = "Smooth"
  199. rhand.BottomSurface = "Smooth"
  200. rhand.Parent = group
  201. rhand:BreakJoints()
  202. rhand.CanCollide = false
  203. rhweld = Instance.new("Weld", rhand)
  204. rhweld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  205. rhweld.Part1 = rhand
  206. --
  207. lhand = Instance.new("Part", group)
  208. lhand.Size = game.Players.LocalPlayer.Character["Left Arm"].Size
  209. lhand.TopSurface = "Smooth"
  210. lhand.BottomSurface = "Smooth"
  211. lhand.CanCollide = false
  212. lhand.Parent = group
  213. lhand:BreakJoints()
  214. rhweld1 = Instance.new("Weld", lhand)
  215. rhweld1.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  216. rhweld1.Part1 = lhand
  217. --
  218. lleg = Instance.new("Part", group)
  219. lleg.Size = game.Players.LocalPlayer.Character["Left Leg"].Size
  220. lleg.TopSurface = "Smooth"
  221. lleg.CanCollide = false
  222. lleg.BottomSurface = "Smooth"
  223. lleg.Parent = group
  224. lleg:BreakJoints()
  225. rhweld11 = Instance.new("Weld", lleg)
  226. rhweld11.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
  227. rhweld11.Part1 = lleg
  228. --
  229. rleg = Instance.new("Part", group)
  230. rleg.Size = game.Players.LocalPlayer.Character["Right Leg"].Size
  231. rleg.TopSurface = "Smooth"
  232. rleg.BottomSurface = "Smooth"
  233. rleg.Parent = group
  234. rleg.CanCollide = false
  235. rleg:BreakJoints()
  236. rhweld111 = Instance.new("Weld", rleg)
  237. rhweld111.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  238. rhweld111.Part1 = rleg
  239. --
  240. torso = Instance.new("Part", group)
  241. torso.Size = game.Players.LocalPlayer.Character.Torso.Size
  242. torso.TopSurface = "Smooth"
  243. torso.BottomSurface = "Smooth"
  244. torso.CanCollide = false
  245. torso.Parent = group
  246. torso:BreakJoints()
  247. rhweld1111 = Instance.new("Weld", torso)
  248. rhweld1111.Part0 = game.Players.LocalPlayer.Character.Torso
  249. rhweld1111.Part1 = torso
  250. --
  251. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  252.     if v.ClassName == "ShirtGraphic" then
  253.         v.Archivable = true
  254.         clo = v:Clone()
  255.         v:destroy()
  256.         clo.Parent = torso
  257.     end
  258. end
  259. wait(0.5)
  260. game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(0,0,-1)
  261. rhand.Color = game.Players.LocalPlayer.Character["Right Arm"].Color
  262. lhand.Color = game.Players.LocalPlayer.Character["Left Arm"].Color
  263. rleg.Color = game.Players.LocalPlayer.Character["Right Leg"].Color
  264. torso.Color = game.Players.LocalPlayer.Character.Torso.Color
  265. lleg.Color = game.Players.LocalPlayer.Character["Left Leg"].Color
  266. groupclone = group:Clone()
  267. canhit = true
  268. fell = 1
  269. canfell = false
  270. canslide = true
  271. boun = false
  272. function SLIDEXD(key)
  273.     if canpunch then
  274.         canpunch = false
  275.         for i = 1,2 do
  276.             wait()
  277.             workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)
  278.             game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0.1,0,0.25)
  279.         end
  280.         local se = Instance.new("Part", game.Players.LocalPlayer.Character["Right Leg"])
  281.         se.Size = Vector3.new(0.5,0.5,0.5)
  282.         se:BreakJoints()
  283.         local weld = Instance.new("Weld", se)
  284.         weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  285.         weld.Part1 = se
  286.         weld.C0 = weld.C0 * CFrame.new(0,-0.7,0)
  287.         local function hitlollel(part)
  288.             local tor = part.Parent:findFirstChild("Torso")
  289.             local hum = part.Parent:findFirstChild("Humanoid")
  290.             if tor ~= nil then
  291.                 if hum ~= nil then
  292.                     hitt:Play()
  293.                     se:destroy()
  294.                     hum.Health = hum.Health - math.random(999999,999999)
  295.                     torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 55
  296.                     local ang = Instance.new("BodyAngularVelocity", torso)
  297.                     ang.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  298.                     ang.AngularVelocity = Vector3.new(0,25,0)
  299.                     wait(0.1)
  300.                     ang:destroy()
  301.                 end
  302.             end
  303.         end
  304.         se.Touched:connect(hitlollel)
  305.         for i = 1,3 do
  306.             wait()
  307.             workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,0.05,0)
  308.             game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0.1,0,0.25)
  309.         end
  310.         for i = 1,2 do
  311.             wait()
  312.             workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,0.02,0)
  313.             game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.new(0,-0.3,0)
  314.         end
  315.         for i = 1,2 do
  316.             wait()
  317.             workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.02,0)
  318.             game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.new(0,0.3,0)
  319.         end
  320.         for i = 1,5 do
  321.             wait()
  322.             workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.1,0)
  323.             game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.1,0,-0.25)
  324.         end
  325.         game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  326.         canpunch = true
  327.     end
  328. end
  329. mouse.Button1Down:connect(SLIDEXD)
  330. function bounce(key)
  331.     key = key:lower()
  332.     if key == "q" then
  333.         if not boun then
  334.             boun = true
  335.             game.Players.LocalPlayer.Character.Humanoid.Jump = true
  336.     local sens = Instance.new("Part", game.Players.LocalPlayer.Character)
  337.     sens.Size = Vector3.new(0.1, 2, 0.1)
  338.     sens.BrickColor = BrickColor.new("Really red")
  339.     sens.CanCollide = false
  340.     sens.Transparency = 1
  341.     sens.Name = "Right"
  342.     sens:BreakJoints()
  343.     local weld = Instance.new("Weld", sens)
  344.     weld.Part0 = game.Players.LocalPlayer.Character.Torso
  345.     weld.Part1 = sens
  346.     weld.C0 = weld.C0 * CFrame.new(2.5,0,0)
  347.     local sens1 = Instance.new("Part", game.Players.LocalPlayer.Character)
  348.     sens1.Size = Vector3.new(0.1, 2, 0.1)
  349.     sens1.BrickColor = BrickColor.new("Really red")
  350.     sens1.CanCollide = false
  351.     sens1.Transparency = 1
  352.     sens1:BreakJoints()
  353.     local weld1 = Instance.new("Weld", sens1)
  354.     weld1.Part0 = game.Players.LocalPlayer.Character.Torso
  355.     weld1.Part1 = sens1
  356.     weld1.C0 = weld1.C0 * CFrame.new(-2.5,0,0)
  357.     local function Julius_Coles_is_agressive()
  358.         sens:destroy()
  359.         sens1:destroy()
  360.         game.Players.LocalPlayer.Character.Torso.Velocity = Vector3.new(0,60,0)
  361.         wait(0.3)
  362.         local lolexdee = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  363.         lolexdee.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  364.         lolexdee.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * -45
  365.         wait(0.1)
  366.         lolexdee:destroy()
  367.     end
  368.     local function Julius_Coles_is_not_agressive()
  369.         sens:destroy()
  370.         sens1:destroy()
  371.         game.Players.LocalPlayer.Character.Torso.Velocity = Vector3.new(0,60,0)
  372.         wait(0.3)
  373.         local lolexdee = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  374.         lolexdee.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  375.         lolexdee.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 45
  376.         wait(0.1)
  377.         lolexdee:destroy()
  378.     end
  379.     sens.Touched:connect(Julius_Coles_is_agressive)
  380.     sens1.Touched:connect(Julius_Coles_is_not_agressive)
  381.     wait(0.2)
  382.     sens:destroy()
  383.     sens1:destroy()
  384.             boun = false
  385.         end
  386.     end
  387. end
  388. mouse.KeyDown:connect(bounce)
  389. function kick(key)
  390.     key = key:lower()
  391.     if key == "e" then
  392.         if cankick then
  393.             cankick = false
  394.             boun = true
  395.             local se = Instance.new("Part", game.Players.LocalPlayer.Character["Right Leg"])
  396.             se.Size = Vector3.new(0.5,0.5,0.5)
  397.             se:BreakJoints()
  398.             local weld = Instance.new("Weld", se)
  399.             weld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  400.             weld.Part1 = se
  401.             weld.C0 = weld.C0 * CFrame.new(0,-0.6,0)
  402.             for i = 1,3 do
  403.                 wait()
  404.                 workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0.1,0,0)
  405.                 game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.45)
  406.             end
  407.             local function didit(part)
  408.                 local torso = part.Parent:findFirstChild("Torso")
  409.                 local humanoid = part.Parent:findFirstChild("Humanoid")
  410.                 if humanoid ~= nil then
  411.                     if torso ~= nil then
  412.                         se:destroy()
  413.                         torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 45
  414.                         local ang = Instance.new("BodyAngularVelocity", torso)
  415.                         ang.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  416.                         ang.AngularVelocity = Vector3.new(0,25,0)
  417.                         falldamagesound11.TimePosition = 0.2
  418.                         workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  419.                         falldamagesound11:Play()
  420.                         humanoid.Health = humanoid.Health - math.random(999999,999999)
  421.                         wait(0.2)
  422.                         ang:destroy()
  423.                         workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  424.                     end
  425.                 end
  426.             end
  427.             se.Touched:connect(didit)
  428.             for i = 1,2 do
  429.                 wait()
  430.                 workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0.05,0,0)
  431.                 game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.1)
  432.                 game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.new(0,-0.25,0)
  433.             end
  434.             for i = 1,2 do
  435.                 wait()
  436.                 workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(-0.05,0,0)
  437.                 game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.1)
  438.                 game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.new(0,0.25,0)
  439.             end
  440.             se:destroy()
  441.             for i = 1,3 do
  442.                 wait()
  443.                 workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(-0.2,0,0)
  444.                 game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.5)
  445.             end
  446.             game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  447.             boun = false
  448.             cankick = true
  449.         end
  450.     end
  451. end
  452. mouse.KeyDown:connect(kick)
  453. while true do
  454.     game:GetService("RunService").RenderStepped:wait()
  455.     local vl = game.Players.LocalPlayer.Character.Torso.Velocity.y
  456.     if canfall then
  457.         if vl < -90 then
  458.             canfall = false
  459.             canfell = true
  460.             local torsoposition = game.Players.LocalPlayer.Character.Torso.Position
  461.             local vl1 = game.Players.LocalPlayer.Character.Torso.Velocity.y
  462.             local sens = Instance.new("Part", game.Players.LocalPlayer.Character)
  463.             sens.Size = Vector3.new(2, 0.1, 2)
  464.             sens.CanCollide = false
  465.             sens.Transparency = 1
  466.             local wld = Instance.new("Weld", sens)
  467.             wld.Part0 = game.Players.LocalPlayer.Character.Torso
  468.             wld.Part1 = sens
  469.             wld.C0 = wld.C0 * CFrame.new(0,-3.1,0)
  470.             local function dmg()
  471.                 if game.Players.LocalPlayer.Character.Humanoid.Health < 45 then
  472.                     canfall = false
  473.                     canfell = false
  474.                     falldamagesound1:destroy()
  475.                     boun = true
  476.                     cankick = false
  477.                     canpunch = false
  478.                     fell = 0
  479.                     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  480.                     game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  481.                     sens:destroy()
  482.                     local gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  483.                     local frame = Instance.new("Frame", gui)
  484.                     frame.Size = UDim2.new(1,0 , 1,0)
  485.                     frame.BackgroundColor3 = Color3.fromRGB(0,0,0)
  486.                     frame.BackgroundTransparency = 1
  487.                     game.Players.LocalPlayer.Character.Humanoid.Health = 100
  488.                     workspace.CurrentCamera.CameraType = "Scriptable"
  489.                     falldamagesound.SoundId = "rbxassetid://261338552"
  490.                     falldamagesound.TimePosition = 0.7
  491.                     falldamagesound:Play()
  492.                     for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  493.                         if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  494.                             v:destroy()
  495.                         end
  496.                     end
  497.                     workspace.CurrentCamera.FieldOfView = 85
  498.                     game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(1.55,0,0) * CFrame.new(0,-2.5,0)
  499.                     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  500.                     game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  501.                     game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(-1.55,0,0)
  502.                     game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,3.2) * CFrame.new(0,-0.7,0)
  503.                     workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  504.                     for i = 1,2 do
  505.                         wait()
  506.                         workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  507.                         game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0.07,0,0)
  508.                     end
  509.                     for i = 1,2 do
  510.                         wait()
  511.                         workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  512.                         game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(-0.07,0,0)
  513.                     end
  514.                     wait(2)
  515.                     for i = 1,20 do
  516.                         wait()
  517.                         game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.new(0,-0.02,0)
  518.                     end
  519.                     wait(2)
  520.                     for i = 1,20 do
  521.                         wait()
  522.                         workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  523.                         frame.BackgroundTransparency = frame.BackgroundTransparency - 0.05
  524.                         game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0.07,0,0)
  525.                     end
  526.                     workspace.CurrentCamera.CameraType = "Custom"
  527.                     workspace.CurrentCamera.FieldOfView = 70
  528.                     wait(1)
  529.                     workspace.CurrentCamera.CameraType = "Custom"
  530.                     game.Players.LocalPlayer.Character.Humanoid.Health = 0
  531.                 end
  532.                 if game.Players.LocalPlayer.Character.Humanoid.Health > 45 then
  533.                 local magn = torsoposition.magnitude - game.Players.LocalPlayer.Character.Torso.Position.magnitude
  534.                 print(magn)
  535.                 game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.Health - magn * 5
  536.                 canfell = false
  537.                 sens:destroy()
  538.                 falldamagesound:Play()
  539.                 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  540.                 game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  541.                 workspace.CurrentCamera.CameraType = "Scriptable"
  542.                 for i = 1,6 do
  543.                     wait()
  544.                     workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-1)
  545.                     game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0.15,0,0)
  546.                     game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.15)
  547.                     game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-0.15)
  548.                     game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.05,0,0)
  549.                     game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.new(0.15,0.15,0)
  550.                     game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
  551.                     game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.15)
  552.                 end
  553.                 wait(1)
  554.                 for i = 1,6 do
  555.                     wait()
  556.                     workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-1)
  557.                     game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(-0.15,0,0)
  558.                     game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.15)
  559.                     game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,0.15)
  560.                     game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.05,0,0)
  561.                     game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.new(-0.15,-0.15,0)
  562.                     game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.15)
  563.                     game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,0.15)
  564.                 end
  565.                 workspace.CurrentCamera.CameraType = "Custom"
  566.                 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = wlkspd
  567.                 game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  568.                 canfall = true
  569.                 end
  570.             end
  571.             sens.Touched:connect(dmg)
  572.         end
  573.     end
  574.     local check = workspace:FindFirstChild(ma)
  575.     if check then
  576.             --nothing
  577.     else
  578.         groupclone.Parent = workspace
  579.     end
  580. end
Add Comment
Please, Sign In to add comment