Advertisement
rivahaviz

Untitled

May 9th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.01 KB | None | 0 0
  1. Character = game.Players.LocalPlayer.Character
  2. Player = game.Players.LocalPlayer
  3. char = Character
  4. hum = Character.Humanoid
  5. Torso = Character.Torso
  6. Head = Character.Head
  7.  
  8. char.Shirt.ShirtTemplate = "rbxassetid://1579247305"
  9. char.Pants.PantsTemplate = "rbxassetid://1466033407"
  10.  
  11.  
  12. local BC = char["Body Colors"]
  13. BC.HeadColor = BrickColor.new("Really Blue")
  14. BC.LeftArmColor = BrickColor.new("Really Blue")
  15. BC.LeftLegColor = BrickColor.new("Really Blue")
  16. BC.RightArmColor = BrickColor.new("Really Blue")
  17. BC.RightLegColor = BrickColor.new("Really Blue")
  18. BC.TorsoColor = BrickColor.new("Really Blue")
  19.  
  20. char.Head.face.Texture = "rbxassetid://701379058"
  21.  
  22. hum.MaxHealth = math.huge
  23.  
  24.  
  25.  
  26.  
  27. for i,v in pairs(char:children()) do
  28. if v:IsA("Hat") then
  29. v:Destroy()
  30. end
  31. end
  32. for i,v in pairs(char:children()) do
  33. if v:IsA("Accessory") then
  34. v:Destroy()
  35. end
  36. end
  37. for i,v in pairs(char:children()) do
  38. if v:IsA("Hair") then
  39. v:Destroy()
  40. end
  41. end
  42. --141378828
  43. Reaper = Instance.new("Model")
  44. Reaper.Parent = Player.Character
  45. Reaper.Name = "Reaper"
  46. rh = Instance.new("Part")
  47. rh.Parent = Reaper
  48. rh.BrickColor = BrickColor.new("Really red")
  49. rh.Locked = true
  50. rh.CanCollide = false
  51. mesh = Instance.new("SpecialMesh")
  52. rh.formFactor = "Symmetric"
  53. mesh.MeshType = "FileMesh"
  54. mesh.MeshId = "http://www.roblox.com/asset/?id=112643970"
  55. mesh.TextureId = "http://www.roblox.com/asset/?id=1018233493"
  56. mesh.Parent = rh
  57. mesh.Scale = Vector3.new(1.1,1.1,1.1)
  58. local weld = Instance.new("Weld")
  59. weld.Parent = rh
  60. rh.Transparency = 0
  61. weld.Part0 = rh
  62. weld.Part1 = Player.Character.Head
  63. weld.C0 = CFrame.new(-0, -0.05, -0)*CFrame.Angles(0, 0, 0)
  64.  
  65. mouse = game.Players.LocalPlayer:GetMouse()
  66. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 25
  67. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  68. game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove()
  69. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  70. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  71. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  72. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  73. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  74. game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove()
  75. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  76. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  77. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  78. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  79. local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  80. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
  81. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  82. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  83. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  84. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  85. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  86. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  87. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  88. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  89. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  90. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  91. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  92. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  93. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  94. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  95. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  96. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  97. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  98. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  99. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  100. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  101. game.Players.LocalPlayer.Character.Torso.Neck:Remove()
  102. howmuch = 0
  103. canwalk = true
  104. function change(key)
  105. if key == "w" or key == "a" or key == "s" or key == "d" then
  106. howmuch = howmuch + 1
  107. end
  108. end
  109. function otherchange(key)
  110. if key == "w" or key == "a" or key == "s" or key == "d" then
  111. howmuch = howmuch - 1
  112. end
  113. end
  114. mouse.KeyDown:connect(change)
  115. mouse.KeyUp:connect(otherchange)
  116. --Converted with ttyyuu12345's model to script plugin v4
  117. function sandbox(var,func)
  118. local env = getfenv(func)
  119. local newenv = setmetatable({},{
  120. __index = function(self,k)
  121. if k=="script" then
  122. return var
  123. else
  124. return env[k]
  125. end
  126. end,
  127. })
  128. setfenv(func,newenv)
  129. return func
  130. end
  131. cors = {}
  132. mas = Instance.new("Model",game:GetService("Lighting"))
  133. Model0 = Instance.new("Model")
  134. Part1 = Instance.new("Part")
  135. Part2 = Instance.new("Part")
  136. Part3 = Instance.new("Part")
  137. Weld4 = Instance.new("Weld")
  138. Weld5 = Instance.new("Weld")
  139. Weld6 = Instance.new("Weld")
  140. Part7 = Instance.new("Part")
  141. Model0.Name = "Sawed Off"
  142. Model0.Parent = mas
  143. Part1.Parent = Model0
  144. Part1.BrickColor = BrickColor.new("Really black")
  145. Part1.Shape = Enum.PartType.Cylinder
  146. Part1.Size = Vector3.new(2.96000075, 0.449999958, 0.400000334)
  147. Part1.CFrame = CFrame.new(40.7499924, 151.548019, 156.470001, 1.0000006, -1.78813934e-07, 0, -1.78813934e-07, 1.00000024, 0, 0, 0, 1)
  148. Part1.Color = Color3.new(0.101961, 0.101961, 0.101961)
  149. Part1.Position = Vector3.new(40.7499924, 151.548019, 156.470001)
  150. Part1.Color = Color3.new(0.101961, 0.101961, 0.101961)
  151. Part2.Parent = Model0
  152. Part2.BrickColor = BrickColor.new("Really black")
  153. Part2.Shape = Enum.PartType.Cylinder
  154. Part2.Size = Vector3.new(2.96000075, 0.449999958, 0.400000334)
  155. Part2.CFrame = CFrame.new(40.7499962, 151.548035, 156.079056, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  156. Part2.Color = Color3.new(0.101961, 0.101961, 0.101961)
  157. Part2.Position = Vector3.new(40.7499962, 151.548035, 156.079056)
  158. Part2.Color = Color3.new(0.101961, 0.101961, 0.101961)
  159. Part3.Parent = Model0
  160. Part3.BrickColor = BrickColor.new("Cocoa")
  161. Part3.Rotation = Vector3.new(0, 0, -34)
  162. Part3.Size = Vector3.new(1.11000025, 0.519999921, 0.570000172)
  163. Part3.CFrame = CFrame.new(42.5974922, 150.98793, 156.274887, 0.829038441, 0.559192181, 0, -0.55919224, 0.829038203, 0, 0, 0, 1)
  164. Part3.Color = Color3.new(0.317647, 0.145098, 0)
  165. Part3.Position = Vector3.new(42.5974922, 150.98793, 156.274887)
  166. Part3.Orientation = Vector3.new(0, 0, -34)
  167. Part3.Color = Color3.new(0.317647, 0.145098, 0)
  168. Weld4.Name = "1"
  169. Weld4.Parent = Part3
  170. Weld4.C0 = CFrame.new(-1.84484863, -0.568756104, -0.195831299, 0.829038441, -0.55919224, 0, 0.559192181, 0.829038203, 0, 0, 0, 1)
  171. Weld4.Part0 = Part3
  172. Weld4.Part1 = Part2
  173. Weld5.Name = "3"
  174. Weld5.Parent = Part3
  175. Weld5.C0 = CFrame.new(-0.60994339, 0.0636444092, 0.00506591797, 0.866026163, 0.499997735, 0, -0.499997616, 0.866026044, 0, 0, 0, 1)
  176. Weld5.Part0 = Part3
  177. Weld5.Part1 = Part7
  178. Weld6.Name = "2"
  179. Weld6.Parent = Part3
  180. Weld6.C0 = CFrame.new(-1.84484482, -0.568771362, 0.195114136, 0.829038441, -0.55919224, 0, 0.559192181, 0.829038203, 0, 0, 0, 1)
  181. Weld6.Part0 = Part3
  182. Weld6.Part1 = Part1
  183. Part7.Parent = Model0
  184. Part7.BrickColor = BrickColor.new("Cocoa")
  185. Part7.Rotation = Vector3.new(0, 0, -64)
  186. Part7.Size = Vector3.new(0.440000623, 0.519999921, 0.759999931)
  187. Part7.CFrame = CFrame.new(42.1274147, 151.381775, 156.279953, 0.438374251, 0.898792326, 0, -0.898792267, 0.438373834, 0, 0, 0, 1)
  188. Part7.Color = Color3.new(0.317647, 0.145098, 0)
  189. Part7.Position = Vector3.new(42.1274147, 151.381775, 156.279953)
  190. Part7.Orientation = Vector3.new(0, 0, -64)
  191. Part7.Color = Color3.new(0.317647, 0.145098, 0)
  192. for i,v in pairs(mas:GetChildren()) do
  193. v.Parent = game:GetService("Players").LocalPlayer.Character
  194. pcall(function() v:MakeJoints() end)
  195. end
  196. mas:Destroy()
  197. for i,v in pairs(cors) do
  198. spawn(function()
  199. pcall(v)
  200. end)
  201. end
  202. for i,v in pairs(Model0:GetChildren()) do
  203. if v.ClassName == "Part" then
  204. v.CanCollide = false
  205. end
  206. end
  207.  
  208. --Converted with ttyyuu12345's model to script plugin v4
  209. function sandbox(var,func)
  210. local env = getfenv(func)
  211. local newenv = setmetatable({},{
  212. __index = function(self,k)
  213. if k=="script" then
  214. return var
  215. else
  216. return env[k]
  217. end
  218. end,
  219. })
  220. setfenv(func,newenv)
  221. return func
  222. end
  223. cors = {}
  224. mas = Instance.new("Model",game:GetService("Lighting"))
  225. for i,v in pairs(mas:GetChildren()) do
  226. v.Parent = game:GetService("Players").LocalPlayer.Character.Torso
  227. pcall(function() v:MakeJoints() end)
  228. end
  229. mas:Destroy()
  230. for i,v in pairs(cors) do
  231. spawn(function()
  232. pcall(v)
  233. end)
  234. end
  235. Sound0 = Instance.new("Sound")
  236. Sound0.Volume = 5
  237. Sound0.Parent = game.Players.LocalPlayer.Character.Head
  238. Sound0.SoundId = "rbxassetid://565420180"
  239. Sound0.Looped = true
  240. Sound0:Play()
  241. Sound00 = Instance.new("Sound")
  242. Sound00.Volume = 6
  243. Sound00.Parent = game.Players.LocalPlayer.Character.Head
  244. Sound00.SoundId = "rbxassetid://330706798"
  245. local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  246. txtfag.Adornee = suckadick
  247. txtfag.Name = "kys nigga"
  248. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  249. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  250. local textfag = Instance.new("TextLabel", txtfag)
  251. textfag.Size = UDim2.new(6, 0, 1, 0)
  252. textfag.FontSize = "Size8"
  253. textfag.TextScaled = true
  254. textfag.TextTransparency = 0
  255. textfag.BackgroundTransparency = 1
  256. textfag.TextTransparency = 0
  257. textfag.TextStrokeTransparency = 0
  258. textfag.Font = "Cartoon"
  259. textfag.TextStrokeColor3 = Color3.new(0, 0, 0)
  260. textfag.Text = game.Players.LocalPlayer.Character.Name.." the Anti-Skid "
  261. bullethitforclone = Instance.new("Sound")
  262. bullethitforclone.Volume = 4
  263. bullethitforclone.Parent = game.Players.LocalPlayer.Character.Head
  264. bullethitforclone.SoundId = "rbxassetid://144884872"
  265. weldf = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  266. weldf.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  267. weldf.Part1 = Part3
  268. weldf.C0 = CFrame.new(-0.0861244202, -1.04447937, -0.182327271, -0.105800174, 0.219419539, -0.969882667, 0.973032475, -0.178225949, -0.146464914, -0.204995126, -0.959215224, -0.194644511)
  269. using = false
  270. function shoot()
  271. if not using then
  272. using = true
  273. canwalk = false
  274. for i = 0,1 , 0.02 do
  275. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 0.207927465, 1.10965065e-11, -0.978144228, -7.31349337e-09, 1, -1.5433097e-09, 0.978144288, 7.47454809e-09, 0.207927451),i)
  276. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.01304245, 0.49798584, -0.020904541, 0.0697589889, -0.997563899, -2.65673535e-22, -1.85331179e-23, 2.65026316e-22, -0.999999881, 0.997563779, 0.0697589815, 0),i)
  277. weldf.C0 = weldf.C0:lerp(CFrame.new(-0.0359191895, -0.892173767, 0.284561157, -0.0689456016, 0.0198679417, -0.997422755, 0.839448929, 0.541383147, -0.0472417921, 0.539049447, -0.840541601, -0.0540040247),i)
  278. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00933837891, -0.0203552246, -0.000652313232, 0.0697618872, -2.27432338e-06, 0.997569025, 1.77783205e-11, 0.999999881, 2.2798622e-06, -0.997569859, -1.59030108e-07, 0.0697606578),i)
  279. game:GetService("RunService").RenderStepped:wait()
  280. end
  281. Sound00:Play()
  282. for i = 1,5 do
  283. ghosting = math.random(1,2)
  284. local bullet = Instance.new("Part", workspace)
  285. bullet.Size = Vector3.new(0.2,0.2,3)
  286. bullet.BrickColor = BrickColor.new("Institutional White")
  287. bullet.Material = "Neon"
  288. bullet.Anchored = false
  289. bullet.CFrame = Part1.CFrame * CFrame.new(3,0,0) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  290. local velocityofbullet = Instance.new("BodyVelocity", bullet)
  291. velocityofbullet.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  292. velocityofbullet.Velocity = mouse.Hit.lookVector * 650 + Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  293. bullet.CanCollide = false
  294. bullet:BreakJoints()
  295. local function kill(part)
  296. local humanoid = part.Parent:findFirstChild("Humanoid")
  297. if humanoid then
  298. if humanoid.Parent.Name == game.Players.LocalPlayer.Name then
  299.  
  300. else
  301. if ghosting == 1 then
  302.  
  303. else
  304. bullet:destroy()
  305. end
  306. local bullethit = bullethitforclone:Clone()
  307. bullethit.Parent = part
  308. if part.Name == "Left Leg" then
  309. bullethit:Play()
  310. humanoid.Parent.Torso["Left Hip"]:Remove()
  311. humanoid.Health = humanoid.Health - math.random(35,50)
  312. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  313. glue.Part0 = humanoid.Parent.Torso
  314. glue.Part1 = humanoid.Parent["Left Leg"]
  315. glue.Name = "Left leg"
  316. local collider = Instance.new("Part", humanoid.Parent["Left Leg"])
  317. collider.Position = Vector3.new(0,999,0)
  318. collider.Size = Vector3.new(1.5, 1, 1)
  319. collider.Shape = "Cylinder"
  320. local weld = Instance.new("Weld", collider)
  321. weld.Part0 = humanoid.Parent["Left Leg"]
  322. weld.Part1 = collider
  323. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  324. collider.TopSurface = "Smooth"
  325. collider.BottomSurface = "Smooth"
  326. collider.formFactor = "Symmetric"
  327. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  328. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  329. collider.Transparency = 1
  330. end
  331. if part.Name == "Right Leg" then
  332. humanoid.Parent.Torso["Right Hip"]:Remove()
  333. bullethit:Play()
  334. humanoid.Health = humanoid.Health - math.random(35,50)
  335. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  336. glue.Part0 = humanoid.Parent.Torso
  337. glue.Part1 = humanoid.Parent["Right Leg"]
  338. glue.Name = "Right leg"
  339. local collider = Instance.new("Part", humanoid.Parent["Right Leg"])
  340. collider.Position = Vector3.new(0,999,0)
  341. collider.Size = Vector3.new(1.5, 1, 1)
  342. collider.Shape = "Cylinder"
  343. local weld = Instance.new("Weld", collider)
  344. weld.Part0 = humanoid.Parent["Right Leg"]
  345. weld.Part1 = collider
  346. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  347. collider.TopSurface = "Smooth"
  348. collider.BottomSurface = "Smooth"
  349. collider.formFactor = "Symmetric"
  350. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  351. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  352. collider.Transparency = 1
  353. end
  354. if part.Name == "Right Arm" then
  355. bullethit:Play()
  356. humanoid.Parent.Torso["Right Shoulder"]:Remove()
  357. humanoid.Health = humanoid.Health - math.random(20,35)
  358. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  359. glue.Part0 = humanoid.Parent.Torso
  360. glue.Part1 = humanoid.Parent["Right Arm"]
  361. glue.Name = "Right arm"
  362. local collider = Instance.new("Part", humanoid.Parent["Right Arm"])
  363. collider.Position = Vector3.new(0,999,0)
  364. collider.Size = Vector3.new(1.5, 1, 1)
  365. collider.Shape = "Cylinder"
  366. local weld = Instance.new("Weld", collider)
  367. weld.Part0 = humanoid.Parent["Right Arm"]
  368. weld.Part1 = collider
  369. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  370. collider.TopSurface = "Smooth"
  371. collider.BottomSurface = "Smooth"
  372. collider.formFactor = "Symmetric"
  373. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  374. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  375. collider.Transparency = 1
  376. end
  377. if part.Name == "Left Arm" then
  378. bullethit:Play()
  379. humanoid.Parent.Torso["Left Shoulder"]:Remove()
  380. humanoid.Health = humanoid.Health - math.random(20,35)
  381. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  382. glue.Part0 = humanoid.Parent.Torso
  383. glue.Part1 = humanoid.Parent["Left Arm"]
  384. glue.Name = "Left arm"
  385. local collider = Instance.new("Part", humanoid.Parent["Left Arm"])
  386. collider.Position = Vector3.new(0,999,0)
  387. collider.Size = Vector3.new(1.5, 1, 1)
  388. collider.Shape = "Cylinder"
  389. local weld = Instance.new("Weld", collider)
  390. weld.Part0 = humanoid.Parent["Left Arm"]
  391. weld.Part1 = collider
  392. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  393. collider.TopSurface = "Smooth"
  394. collider.BottomSurface = "Smooth"
  395. collider.formFactor = "Symmetric"
  396. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  397. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  398. collider.Transparency = 1
  399. end
  400. if part.Name == "Torso" then
  401. bullethit:Play()
  402. humanoid.Health = humanoid.Health - math.random(15,50)
  403. humanoid.WalkSpeed = humanoid.WalkSpeed - math.random(1,2)
  404. end
  405. if part.Name == "Head" then
  406. bullethit:Play()
  407. humanoid.JumpPower = 0
  408. humanoid.PlatformStand = true
  409. humanoid.WalkSpeed = 0
  410. local decal = Instance.new("Decal", part)
  411. decal.Texture = "http://www.roblox.com/asset/?id=1081285488"
  412. local findlefthip = humanoid.Parent.Torso:findFirstChild("Left Hip")
  413. if findlefthip then
  414. findlefthip:Remove()
  415. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  416. glue.Part0 = humanoid.Parent.Torso
  417. glue.Part1 = humanoid.Parent["Left Leg"]
  418. glue.Name = "Left leg"
  419. local collider = Instance.new("Part", humanoid.Parent["Left Leg"])
  420. collider.Position = Vector3.new(0,999,0)
  421. collider.Size = Vector3.new(1.5, 1, 1)
  422. collider.Shape = "Cylinder"
  423. local weld = Instance.new("Weld", collider)
  424. weld.Part0 = humanoid.Parent["Left Leg"]
  425. weld.Part1 = collider
  426. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  427. collider.TopSurface = "Smooth"
  428. collider.BottomSurface = "Smooth"
  429. collider.formFactor = "Symmetric"
  430. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  431. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  432. collider.Transparency = 1
  433. end
  434. --
  435. local findrighthip = humanoid.Parent.Torso:findFirstChild("Right Hip")
  436. if findrighthip then
  437. findrighthip:Remove()
  438. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  439. glue.Part0 = humanoid.Parent.Torso
  440. glue.Part1 = humanoid.Parent["Right Leg"]
  441. glue.Name = "Right leg"
  442. local collider = Instance.new("Part", humanoid.Parent["Right Leg"])
  443. collider.Position = Vector3.new(0,999,0)
  444. collider.Size = Vector3.new(1.5, 1, 1)
  445. collider.Shape = "Cylinder"
  446. local weld = Instance.new("Weld", collider)
  447. weld.Part0 = humanoid.Parent["Right Leg"]
  448. weld.Part1 = collider
  449. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  450. collider.TopSurface = "Smooth"
  451. collider.BottomSurface = "Smooth"
  452. collider.formFactor = "Symmetric"
  453. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  454. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  455. collider.Transparency = 1
  456. end
  457. --
  458. local findrightshoulder = humanoid.Parent.Torso:findFirstChild("Right Shoulder")
  459. if findrightshoulder then
  460. findrightshoulder:Remove()
  461. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  462. glue.Part0 = humanoid.Parent.Torso
  463. glue.Part1 = humanoid.Parent["Right Arm"]
  464. glue.Name = "Right arm"
  465. local collider = Instance.new("Part", humanoid.Parent["Right Arm"])
  466. collider.Position = Vector3.new(0,999,0)
  467. collider.Size = Vector3.new(1.5, 1, 1)
  468. collider.Shape = "Cylinder"
  469. local weld = Instance.new("Weld", collider)
  470. weld.Part0 = humanoid.Parent["Right Arm"]
  471. weld.Part1 = collider
  472. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  473. collider.TopSurface = "Smooth"
  474. collider.BottomSurface = "Smooth"
  475. collider.formFactor = "Symmetric"
  476. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  477. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  478. collider.Transparency = 1
  479. end
  480. --
  481. local findleftshoulder = humanoid.Parent.Torso:findFirstChild("Left Shoulder")
  482. if findleftshoulder then
  483. findleftshoulder:Remove()
  484. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  485. glue.Part0 = humanoid.Parent.Torso
  486. glue.Part1 = humanoid.Parent["Left Arm"]
  487. glue.Name = "Left arm"
  488. local collider = Instance.new("Part", humanoid.Parent["Left Arm"])
  489. collider.Position = Vector3.new(0,999,0)
  490. collider.Size = Vector3.new(1.5, 1, 1)
  491. collider.Shape = "Cylinder"
  492. local weld = Instance.new("Weld", collider)
  493. weld.Part0 = humanoid.Parent["Left Arm"]
  494. weld.Part1 = collider
  495. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  496. collider.TopSurface = "Smooth"
  497. collider.BottomSurface = "Smooth"
  498. collider.formFactor = "Symmetric"
  499. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  500. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  501. collider.Transparency = 1
  502. end
  503. wait(5)
  504. humanoid.Health = 0
  505. end
  506. local howmany = 0
  507. for i,v in pairs(humanoid.Parent.Torso:GetChildren()) do
  508. if v.ClassName == "Glue" then
  509. howmany = howmany + 1
  510. end
  511. end
  512. if howmany == 4 then
  513. humanoid.JumpPower = 0
  514. humanoid.PlatformStand = true
  515. humanoid.WalkSpeed = 0
  516. end
  517. if humanoid.Health < 1 then
  518. if humanoid.Parent:findFirstChild("Health") then
  519. humanoid.Parent.Health:Remove()
  520. humanoid.Health = 0.001
  521. for i,v in pairs(humanoid.Parent:GetChildren()) do
  522. if v.ClassName == "Part" then
  523. for q,w in pairs(v:GetChildren()) do
  524. if w.ClassName == "Part" then
  525. w:destroy()
  526. end
  527. end
  528. end
  529. end
  530. end
  531. if humanoid.Parent:findFirstChild("Torso") then
  532. humanoid.Parent.Torso.Velocity = mouse.Hit.lookVector * 35
  533. for i,v in pairs(humanoid.Parent.Torso:GetChildren()) do
  534. if v.ClassName == "Motor6D" then
  535. if v.Name == "Neck" then
  536.  
  537. else
  538. v:destroy()
  539. end
  540. end
  541. end
  542. end
  543. humanoid.WalkSpeed = 0
  544. humanoid.JumpPower = 0
  545. humanoid.PlatformStand = true
  546. if humanoid.Parent:findFirstChild("Right Arm") then
  547. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  548. attachment.Position = Vector3.new(1, 1, 0)
  549. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  550. ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment
  551. ball.Attachment1 = attachment
  552. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  553. collidepartofleftleg.Name = "Bone"
  554. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  555. collidepartofleftleg.Transparency = 1
  556. collidepartofleftleg:BreakJoints()
  557. local weeld = Instance.new("Weld", collidepartofleftleg)
  558. weeld.Part0 = humanoid.Parent["Right Arm"]
  559. weeld.Part1 = collidepartofleftleg
  560. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  561. end
  562. if humanoid.Parent:findFirstChild("Left Arm") then
  563. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  564. attachment.Position = Vector3.new(1, 1, 0)
  565. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  566. ball.Attachment0 = humanoid.Parent.Torso.LeftCollarAttachment
  567. ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment
  568. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  569. collidepartofleftleg.Name = "Bone"
  570. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  571. collidepartofleftleg.Transparency = 1
  572. collidepartofleftleg:BreakJoints()
  573. local weeld = Instance.new("Weld", collidepartofleftleg)
  574. weeld.Part0 = humanoid.Parent["Left Arm"]
  575. weeld.Part1 = collidepartofleftleg
  576. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  577. end
  578. if humanoid.Parent:findFirstChild("Right Leg") then
  579. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  580. attachment.Position = Vector3.new(0.5, -1, 0)
  581. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  582. ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment
  583. ball.Attachment1 = attachment
  584. humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  585. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  586. collidepartofleftleg.Name = "Bone"
  587. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  588. collidepartofleftleg.Transparency = 1
  589. collidepartofleftleg:BreakJoints()
  590. local weeld = Instance.new("Weld", collidepartofleftleg)
  591. weeld.Part0 = humanoid.Parent["Right Leg"]
  592. weeld.Part1 = collidepartofleftleg
  593. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  594. end
  595. if humanoid.Parent:findFirstChild("Left Leg") then
  596. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  597. attachment.Position = Vector3.new(-0.5, -1, 0)
  598. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  599. ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment
  600. ball.Attachment1 = attachment
  601. humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  602. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  603. collidepartofleftleg.Name = "Bone"
  604. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  605. collidepartofleftleg.Transparency = 1
  606. collidepartofleftleg:BreakJoints()
  607. local weeld = Instance.new("Weld", collidepartofleftleg)
  608. weeld.Part0 = humanoid.Parent["Left Leg"]
  609. weeld.Part1 = collidepartofleftleg
  610. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  611. end
  612. if humanoid.Parent:findFirstChild("Head") then
  613. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  614. attachment.Position = Vector3.new(0, -0.5, 0)
  615. humanoid.Parent.Torso.NeckAttachment.Visible = false
  616. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  617. local ball = Instance.new("HingeConstraint", humanoid.Parent)
  618. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  619. ball.Attachment1 = attachment
  620. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  621. collidepartofleftleg.Name = "Bone"
  622. collidepartofleftleg.Size = Vector3.new(0.5,0.3,0.5)
  623. collidepartofleftleg.Transparency = 1
  624. collidepartofleftleg:BreakJoints()
  625. local weeld = Instance.new("Weld", collidepartofleftleg)
  626. weeld.Part0 = collidepartofleftleg
  627. weeld.Part1 = humanoid.Parent["Head"]
  628. humanoid.Parent.Torso.Neck:destroy()
  629. end
  630. if humanoid.Parent:findFirstChild("Head") then
  631. local aah = Instance.new("Sound", humanoid.Parent.Head)
  632. if aah then
  633. aah.Volume = 8
  634. local aahmath = math.random(2,8)
  635. if aahmath == 2 then
  636. aah.SoundId = "rbxassetid://884348443"
  637. aah:Play()
  638. end
  639. if aahmath == 3 then
  640. aah.SoundId = "rbxassetid://535528169"
  641. aah.TimePosition = 0.3
  642. aah:Play()
  643. end
  644. if aahmath == 4 then
  645. aah.SoundId = "rbxassetid://1080363252"
  646. aah:Play()
  647. end
  648. if aahmath == 5 then
  649. aah.SoundId = "rbxassetid://150245085"
  650. aah:Play()
  651. end
  652. if aahmath == 6 then
  653. aah.SoundId = "rbxassetid://345287845"
  654. aah.TimePosition = 2.5
  655. aah:Play()
  656. end
  657. if aahmath == 7 then
  658. aah.SoundId = "rbxassetid://147758746"
  659. aah.TimePosition = 1.3
  660. aah:Play()
  661. end
  662. if aahmath == 8 then
  663. aah.SoundId = "rbxassetid://626777433"
  664. aah.TimePosition = 1.4
  665. aah:Play()
  666. end
  667. end
  668. humanoid.Name = "Hammoodmememememem"
  669. end
  670. end
  671. end
  672. end
  673. end
  674. bullet.Touched:connect(kill)
  675. end
  676. for i = 0,1 , 0.25 do
  677. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 0.207933038, -0.102243967, -0.972784758, 8.86239135e-08, 0.994521916, -0.104528628, 0.978143096, 0.0217348691, 0.206793979),i)
  678. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.82263184, 0.730773926, -0.020904541, 0.0646852478, -0.924928367, 0.374597609, 0.0261337012, -0.373684913, -0.927187502, 0.997563481, 0.0697649717, -9.91872824e-08),i)
  679. weldf.C0 = weldf.C0:lerp(CFrame.new(-0.0359191895, -0.892173767, 0.284561157, -0.0689456016, 0.0198679417, -0.997422755, 0.839448929, 0.541383147, -0.0472417921, 0.539049447, -0.840541601, -0.0540040247),i)
  680. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00933837891, -0.0203552246, -0.000652313232, 0.0697618872, -2.27432338e-06, 0.997569025, 1.77783205e-11, 0.999999881, 2.2798622e-06, -0.997569859, -1.59030108e-07, 0.0697606578),i)
  681. game:GetService("RunService").RenderStepped:wait()
  682. end
  683. for i = 0,1 , 0.02 do
  684. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 0.207927465, 1.10965065e-11, -0.978144228, -7.31349337e-09, 1, -1.5433097e-09, 0.978144288, 7.47454809e-09, 0.207927451),i)
  685. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.01304245, 0.49798584, -0.020904541, 0.0697589889, -0.997563899, -2.65673535e-22, -1.85331179e-23, 2.65026316e-22, -0.999999881, 0.997563779, 0.0697589815, 0),i)
  686. weldf.C0 = weldf.C0:lerp(CFrame.new(-0.0359191895, -0.892173767, 0.284561157, -0.0689456016, 0.0198679417, -0.997422755, 0.839448929, 0.541383147, -0.0472417921, 0.539049447, -0.840541601, -0.0540040247),i)
  687. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00933837891, -0.0203552246, -0.000652313232, 0.0697618872, -2.27432338e-06, 0.997569025, 1.77783205e-11, 0.999999881, 2.2798622e-06, -0.997569859, -1.59030108e-07, 0.0697606578),i)
  688. game:GetService("RunService").RenderStepped:wait()
  689. end
  690. for i = 0,1 , 0.02 do
  691. weldf.C0 = weldf.C0:lerp(CFrame.new(-0.0861244202, -1.04447937, -0.182327271, -0.105800174, 0.219419539, -0.969882667, 0.973032475, -0.178225949, -0.146464914, -0.204995126, -0.959215224, -0.194644511),i)
  692. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  693. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.48563504, -0.102214813, 1, 6.31088724e-30, -1.00974196e-28, -2.5243549e-29, 0.990270674, 0.139171436, -5.04870979e-29, -0.139171436, 0.990270674),i)
  694. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.606146812, -2.0409379, 0.23392868, 0.994522691, 0.104527831, 4.48272353e-09, -0.10395515, 0.989075184, 0.104526937, 0.0109259691, -0.103954434, 0.994521797),i)
  695. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.56223869, 0.00435209274, 0, 0.997564316, 0.0697554871, 0, -0.0697554871, 0.997564316, 0, 0, 2.5243549e-29, 1),i)
  696. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.589343071, -2.06024575, -0.139556885, 0.997564077, -0.0693742931, 0.0072911568, 0.0697562397, 0.992102206, -0.104268931, 1.75914945e-08, 0.104523741, 0.994524658),i)
  697. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.61233902, 0.0157878399, 0, 0.990270674, -0.139171436, 5.04870979e-29, 0.139171436, 0.990270674, 2.01948392e-28, 1.00974196e-28, 2.27191941e-28, 1),i)
  698. game:GetService("RunService").RenderStepped:wait()
  699. end
  700. canwalk = true
  701. using = false
  702. end
  703. end
  704. function kys(key)
  705. key = key:lower()
  706. if key == "q" and not using then
  707. using = false
  708. canwalk = false
  709. for i = 0,1 , 0.02 do
  710. weldf.C0 = weldf.C0:lerp(CFrame.new(-0.168807983, -2.35839844, 1.06054688, 0.376244515, -0.0200107303, 0.92630434, -0.527649045, -0.826430559, 0.196466327, 0.761594713, -0.562682986, -0.321498603),i)
  711. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  712. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 0.964937389, -0.102245584, 0.241747394, 0.104467049, 0.994521677, 0.00364552485, -0.240795761, 0.0217369329, 0.970332384),i)
  713. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.606146812, -2.0409379, 0.23392868, 0.994522691, 0.104527831, 4.48272353e-09, -0.10395515, 0.989075184, 0.104526937, 0.0109259691, -0.103954434, 0.994521797),i)
  714. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.755413055, -0.0500183105, -2.32714844, 0.992147624, -0.122393578, 0.0257476419, 0.0214064512, -0.0366528891, -0.999098778, 0.123226993, 0.991804659, -0.0337450653),i)
  715. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.589343071, -2.06024575, -0.139556885, 0.997564077, -0.0693742931, 0.0072911568, 0.0697562397, 0.992102206, -0.104268931, 1.75914945e-08, 0.104523741, 0.994524658),i)
  716. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.817108154, 0.43989563, -1.35630798, 0.906662822, 0.312888145, -0.28295514, -0.253573388, -0.131829232, -0.958290994, -0.337139636, 0.9405967, -0.04018455),i)
  717. game:GetService("RunService").RenderStepped:wait()
  718. end
  719. --0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0
  720. --0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0
  721. --[[
  722. local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  723. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
  724. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  725. --]]
  726. --By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
  727. --die plz
  728. mouse = game.Players.LocalPlayer:GetMouse()
  729. function ragdoll()
  730. game.Players.LocalPlayer.Character.Archivable = true
  731. Sound0:destroy()
  732. clone = game.Players.LocalPlayer.Character:Clone()
  733. clone.Parent = workspace
  734. for i,v in pairs(clone:GetChildren()) do
  735. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  736. v:destroy()
  737. end
  738. for i,p in pairs(v:GetChildren()) do
  739. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  740. p:destroy()
  741. end
  742. end
  743. end
  744. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  745. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  746. t:destroy()
  747. end
  748. end
  749. vel = Instance.new("BodyVelocity", clone.Torso)
  750. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  751. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  752. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
  753. using = false
  754. hit = Instance.new("Sound", clone.Torso)
  755. hit.SoundId = "rbxassetid://260430060"
  756. hit.Volume = 0
  757. hit1 = Instance.new("Sound", clone.Torso)
  758. hit1.SoundId = "rbxassetid://138087186"
  759. hit1.Volume = 0
  760. hit2 = Instance.new("Sound", clone.Torso)
  761. hit2.SoundId = "rbxassetid://131237241"
  762. hit2.Volume = 0
  763. hit3 = Instance.new("Sound", clone.Torso)
  764. hit3.SoundId = "rbxassetid://278062209"
  765. hit3.Volume = 0
  766. hit3.TimePosition = 0.33
  767. ded = Instance.new("Sound", clone.Torso)
  768. ded.SoundId = "rbxassetid://418892870"
  769. ded.Volume = 0
  770. local leftarm = clone:findFirstChild("Left Arm")
  771. local rightrm = clone:findFirstChild("Right Arm")
  772. local leftleg = clone:findFirstChild("Left Leg")
  773. local rightleg = clone:findFirstChild("Right Leg")
  774. local head = clone:findFirstChild("Head")
  775. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  776. if g.ClassName == "Part" then
  777. g:destroy()
  778. end
  779. end
  780. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  781. if h.ClassName == "Accesory" then
  782. h:destroy()
  783. end
  784. end
  785. game.Workspace.CurrentCamera.CameraSubject = head
  786. if head then
  787. local attachment = Instance.new("Attachment", clone.Head)
  788. attachment.Position = Vector3.new(0, -0.5, 0)
  789. attachment.Name = "lol"
  790. attachment.Visible = false
  791. clone.Torso.NeckAttachment.Visible = false
  792. clone.Torso.NeckAttachment.Position = clone.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  793. local ball = Instance.new("BallSocketConstraint", clone)
  794. ball.Attachment0 = clone.Torso.NeckAttachment
  795. ball.Attachment1 = attachment
  796. ball.LimitsEnabled = true
  797. ball.TwistLimitsEnabled = true
  798. ball.UpperAngle = 90
  799. ball.Restitution = 0.5
  800. ball.TwistUpperAngle = 90
  801. ball.TwistLowerAngle = -90
  802. local collidepartofleftleg = Instance.new("Part", clone.Torso)
  803. collidepartofleftleg.Name = "Bone"
  804. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  805. collidepartofleftleg.Transparency = 1
  806. collidepartofleftleg:BreakJoints()
  807. local weeld = Instance.new("Weld", collidepartofleftleg)
  808. weeld.Part0 = collidepartofleftleg
  809. weeld.Part1 = clone["Head"]
  810. end
  811. if leftleg ~= nil then
  812. local glue = Instance.new("Glue", clone.Torso)
  813. glue.Part0 = clone.Torso
  814. glue.Part1 = leftleg
  815. glue.Name = "Left leg"
  816. local collider = Instance.new("Part", leftleg)
  817. collider.Position = Vector3.new(0,999,0)
  818. collider.Size = Vector3.new(1.5, 1, 1)
  819. collider.Shape = "Cylinder"
  820. local weld = Instance.new("Weld", collider)
  821. weld.Part0 = leftleg
  822. weld.Part1 = collider
  823. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  824. collider.TopSurface = "Smooth"
  825. collider.BottomSurface = "Smooth"
  826. collider.formFactor = "Symmetric"
  827. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  828. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  829. collider.Transparency = 1
  830. end
  831. ------------
  832. if rightleg ~= nil then
  833. local glue1 = Instance.new("Glue", clone.Torso)
  834. glue1.Part0 = clone.Torso
  835. glue1.Part1 = rightleg
  836. glue1.Name = "Right leg"
  837. local collider1 = Instance.new("Part", rightleg)
  838. collider1.Position = Vector3.new(0,999,0)
  839. collider1.Size = Vector3.new(1.5, 1, 1)
  840. collider1.Shape = "Cylinder"
  841. local weld1 = Instance.new("Weld", collider1)
  842. weld1.Part0 = rightleg
  843. weld1.Part1 = collider1
  844. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  845. collider1.TopSurface = "Smooth"
  846. collider1.BottomSurface = "Smooth"
  847. collider1.formFactor = "Symmetric"
  848. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  849. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  850. collider1.Transparency = 1
  851. end
  852. ------------
  853. if rightrm ~= nil then
  854. local glue11 = Instance.new("Glue", clone.Torso)
  855. glue11.Part0 = clone.Torso
  856. glue11.Part1 = rightrm
  857. glue11.Name = "Right shoulder"
  858. local collider11 = Instance.new("Part", rightrm)
  859. collider11.Position = Vector3.new(0,9999,0)
  860. collider11.Size = Vector3.new(1.5,1,1)
  861. collider11.Shape = "Cylinder"
  862. local weld11 = Instance.new("Weld", collider11)
  863. weld11.Part0 = rightrm
  864. weld11.Part1 = collider11
  865. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  866. collider11.TopSurface = "Smooth"
  867. collider11.BottomSurface = "Smooth"
  868. collider11.formFactor = "Symmetric"
  869. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  870. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  871. collider11.Transparency = 1
  872. end
  873. ------------
  874. if leftarm ~= nil then
  875. local glue111 = Instance.new("Glue", clone.Torso)
  876. glue111.Part0 = clone.Torso
  877. glue111.Part1 = leftarm
  878. glue111.Name = "Left shoulder"
  879. local collider111 = Instance.new("Part", leftarm)
  880. collider111.Position = Vector3.new(0,9999,0)
  881. collider111.Size = Vector3.new(1.5,1,1)
  882. collider111.Shape = "Cylinder"
  883. local weld111 = Instance.new("Weld", collider111)
  884. weld111.Part0 = leftarm
  885. weld111.Part1 = collider111
  886. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  887. collider111.TopSurface = "Smooth"
  888. collider111.BottomSurface = "Smooth"
  889. collider111.formFactor = "Symmetric"
  890. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  891. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  892. collider111.Transparency = 1
  893. ----------------
  894. sensoring = Instance.new("Part", clone.Torso)
  895. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  896. sensoring.CanCollide = false
  897. sensoring.Position = clone.Torso.Position
  898. local welder = Instance.new("Weld", sensoring)
  899. welder.Part0 = clone.Torso
  900. welder.Part1 = sensoring
  901. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  902. sensoring.Transparency = 1
  903. -----------------
  904. sensoring1 = Instance.new("Part", clone.Torso)
  905. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  906. sensoring1.CanCollide = false
  907. sensoring1.Position = clone.Torso.Position
  908. local welder1 = Instance.new("Weld", sensoring)
  909. welder1.Part0 = clone.Torso
  910. welder1.Part1 = sensoring1
  911. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  912. sensoring1.Transparency = 1
  913. end
  914. clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)"
  915. ded:Play()
  916. vel:destroy()
  917. wait(0.5)
  918. local function touch()
  919. if not using then
  920. using = true
  921. local Math = math.random(1,4)
  922. if Math == 1 then
  923. hit:Play()
  924. end
  925. if Math == 2 then
  926. hit1:Play()
  927. end
  928. if Math == 3 then
  929. hit2:Play()
  930. end
  931. if Math == 4 then
  932. hit3:Play()
  933. end
  934. wait(0.1)
  935. using = false
  936. end
  937. end
  938. sensoring.Touched:connect(touch)
  939. sensoring1.Touched:connect(touch)
  940. while true do
  941. clone.Head.CanCollide = false
  942. game:GetService("RunService").Stepped:wait()
  943. end
  944. end
  945.  
  946. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  947.  
  948. --di ent
  949. Sound00:Play()
  950. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  951. end
  952. end
  953. mouse.Button1Down:connect(shoot)
  954. mouse.KeyDown:connect(kys)
  955. function look()
  956. game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position,Vector3.new(mouse.Hit.p.x, game.Players.LocalPlayer.Character.Torso.Position.y, mouse.Hit.p.z))
  957. end
  958. game:GetService("RunService").RenderStepped:connect(look)
  959. while true do
  960. if howmuch <= -1 then
  961. howmuch = 0
  962. end
  963. if howmuch >= 4 then
  964. howmuch = 0
  965. end
  966. if canwalk and howmuch < 1 then
  967. for i = 0,1 , 0.01 do
  968. if canwalk and howmuch < 1 then
  969. weldf.C0 = weldf.C0:lerp(CFrame.new(-0.0861244202, -1.04447937, -0.182327271, -0.105800174, 0.219419539, -0.969882667, 0.973032475, -0.178225949, -0.146464914, -0.204995126, -0.959215224, -0.194644511),i)
  970. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  971. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.48563504, -0.102214813, 1, 6.31088724e-30, -1.00974196e-28, -2.5243549e-29, 0.990270674, 0.139171436, -5.04870979e-29, -0.139171436, 0.990270674),i)
  972. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.606146812, -2.0409379, 0.23392868, 0.994522691, 0.104527831, 4.48272353e-09, -0.10395515, 0.989075184, 0.104526937, 0.0109259691, -0.103954434, 0.994521797),i)
  973. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.56223869, 0.00435209274, 0, 0.997564316, 0.0697554871, 0, -0.0697554871, 0.997564316, 0, 0, 2.5243549e-29, 1),i)
  974. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.589343071, -2.06024575, -0.139556885, 0.997564077, -0.0693742931, 0.0072911568, 0.0697562397, 0.992102206, -0.104268931, 1.75914945e-08, 0.104523741, 0.994524658),i)
  975. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.61233902, 0.0157878399, 0, 0.990270674, -0.139171436, 5.04870979e-29, 0.139171436, 0.990270674, 2.01948392e-28, 1.00974196e-28, 2.27191941e-28, 1),i)
  976. game:GetService("RunService").RenderStepped:wait()
  977. end
  978. end
  979. for i = 0,0.3 , 0.004 do
  980. if canwalk and howmuch < 1 then
  981. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  982. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5222218, -0.102214813, 1, 6.31088724e-30, -1.00974196e-28, -2.5243549e-29, 0.990270674, 0.139171436, -5.04870979e-29, -0.139171436, 0.990270674),i)
  983. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.606146812, -2.0409379, 0.23392868, 0.994522691, 0.104527831, 4.48272353e-09, -0.10395515, 0.989075184, 0.104526937, 0.0109259691, -0.103954434, 0.994521797),i)
  984. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.56223869, 0.0409388542, 0, 0.997564316, 0.0697554871, 0, -0.0697554871, 0.997564316, 0, 0, 2.5243549e-29, 1),i)
  985. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.589343071, -2.06024575, -0.139556885, 0.997564077, -0.0693742931, 0.0072911568, 0.0697562397, 0.992102206, -0.104268931, 1.75914945e-08, 0.104523741, 0.994524658),i)
  986. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.61233902, 0.0523746014, 0, 0.990270674, -0.139171436, 5.04870979e-29, 0.139171436, 0.990270674, 2.01948392e-28, 1.00974196e-28, 2.27191941e-28, 1),i)
  987. game:GetService("RunService").RenderStepped:wait()
  988. end
  989. end
  990. end
  991. if canwalk and howmuch >= 1 then
  992. if canwalk then
  993. for i = 0,0.5 , 0.05 do
  994. if canwalk and howmuch >= 1 then
  995. weldf.C0 = weldf.C0:lerp(CFrame.new(0.405254364, -0.770187378, -0.0317382813, 0.916420221, 0.388018847, -0.0981012359, 0.181092858, -0.183419436, 0.966214538, 0.356913, -0.90321666, -0.238354743),i)
  996. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, -4.22829445e-28, 5.04870979e-28, -4.7962743e-28, 0.98481518, -0.173646927, 4.54383881e-28, 0.173646927, 0.98481518),i)
  997. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.0218505859, -0.207862854, 1, -2.65673535e-22, 5.23747954e-22, 1.5097504e-22, 0.978147745, 0.207910955, -5.67539301e-22, -0.207910955, 0.978147745),i)
  998. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.35635376, 0.984832764, 1, -1.46412584e-27, -1.17303617e-26, 1.15615454e-26, -0.0348859876, 0.999391198, -1.61558713e-27, -0.999391198, -0.0348859876),i)
  999. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.2262764, 0.145446777, -0.484161377, 0.788011551, -0.578533888, 0.210562602, 0.411958992, 0.241324201, -0.878665209, 0.457523763, 0.779141247, 0.428498387),i)
  1000. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.81869507, -0.922622681, 1, -1.72713825e-22, -5.61306619e-22, -2.65673535e-22, 0.719345152, -0.694654465, 5.23747954e-22, 0.694656253, 0.719344676),i)
  1001. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.39048004, 0.431030273, -0.798828125, 0.978150845, 0.207915336, -2.65673535e-22, -3.24998904e-22, 2.51171167e-22, -1, -0.207915336, 0.978150845, 3.13253081e-22),i)
  1002. game:GetService("RunService").RenderStepped:wait()
  1003. end
  1004. end
  1005. end
  1006. if canwalk then
  1007. for i = 0,0.5 , 0.05 do
  1008. if canwalk and howmuch >= 1 then
  1009. weldf.C0 = weldf.C0:lerp(CFrame.new(0.405254364, -0.770187378, -0.0317382813, 0.916420221, 0.388018847, -0.0981012359, 0.181092858, -0.183419436, 0.966214538, 0.356913, -0.90321666, -0.238354743),i)
  1010. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.5, 0, 1, -4.22829445e-28, 5.04870979e-28, -4.7962743e-28, 0.98481518, -0.173646927, 4.54383881e-28, 0.173646927, 0.98481518),i)
  1011. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.0218505859, -0.00492095947, 1, -2.65673535e-22, 5.23747954e-22, 1.5097504e-22, 0.978147686, 0.20791094, -5.67539301e-22, -0.20791094, 0.978147686),i)
  1012. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.86941528, -0.882217407, 1, -6.4421537e-26, 9.04728795e-26, 1.09784194e-25, 0.694650829, -0.71934706, -1.64587939e-26, 0.71934706, 0.694650829),i)
  1013. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.2262764, 0.145446777, -0.484161377, 0.788011551, -0.578533888, 0.210562602, 0.411958992, 0.241324201, -0.878665209, 0.457523763, 0.779141247, 0.428498387),i)
  1014. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.35365295, 1.16508484, 1, 5.03939593e-22, 3.01560673e-22, -2.65673358e-22, -0.0697558299, 0.997564077, 5.237476e-22, -0.997564077, -0.0697558299),i)
  1015. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.39048004, 0.431030273, -0.798828125, 0.978150845, 0.207915336, -2.65673535e-22, -3.24998904e-22, 2.51171167e-22, -1, -0.207915336, 0.978150845, 3.13253081e-22),i)
  1016. game:GetService("RunService").RenderStepped:wait()
  1017. end
  1018. end
  1019. end
  1020. end
  1021. game:GetService("RunService").RenderStepped:wait()
  1022. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement