Advertisement
Guest User

Untitled

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