Advertisement
Sheckles

Anthony

Aug 4th, 2018
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.77 KB | None | 0 0
  1. --MADE BY RUFUS14
  2. mouse = game.Players.LocalPlayer:GetMouse()
  3. using = false
  4. hit = false
  5. bat = Instance.new("Part", game.Players.LocalPlayer.Character)
  6. bat.Size = Vector3.new(1, 1, 5)
  7. bat.CanCollide = false
  8. bat:BreakJoints()
  9. baseballhit = Instance.new("Sound", bat)
  10. baseballhit.Volume = 10
  11. baseballhit.SoundId = "rbxassetid://357613509"
  12. music = Instance.new("Sound", bat)
  13. music.Volume = 1
  14. music.SoundId = "rbxassetid://" --This is where the audio is.
  15. music.Playing = true
  16. music.Looped = true
  17. music.Pitch = 1 --You can also change the pitch.
  18. baseballhit1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  19. baseballhit1.Volume = 20
  20. baseballhit1.SoundId = "rbxassetid://357613509"
  21. swinging = Instance.new("Sound", bat)
  22. swinging.Volume = 10
  23. swinging.PlaybackSpeed = 1.2
  24. swinging.SoundId = "rbxassetid://147722227"
  25. weld = Instance.new("Weld", bat)
  26. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  27. weld.Part1 = bat
  28. local batcritical = Instance.new("Sound", bat)
  29. batcritical.SoundId = "rbxassetid://357613509"
  30. batcritical.Volume = 5
  31. weld.C0 = weld.C0 * CFrame.Angles(0,3.15,0) * CFrame.new(0,-0.95,1.9)
  32. print(weld.C0)
  33. mesh = Instance.new("SpecialMesh", bat)
  34. mesh.MeshId = "http://www.roblox.com/asset/?id=24342877"
  35. mesh.TextureId = "http://www.roblox.com/asset/?id=24342832"
  36. mesh.Scale = Vector3.new(2,2,2)
  37. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  38. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  39. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  40. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  41. rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  42. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  43. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  44. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  45. lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  46. lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  47. function hit()
  48. if not using then
  49. using = true
  50. for i = 0,1 , 0.1 do
  51. wait()
  52. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.35),i)
  53. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.35),i)
  54. rhandweld.C0 = rhandweld.C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.3),i)
  55. lhandweld.C0 = lhandweld.C0 * CFrame.new():lerp(CFrame.Angles(-0.15,0,0),i)
  56. end
  57. for i = 1,2 do
  58. wait()
  59. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.1)
  60. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.1)
  61. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.1)
  62. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
  63. end
  64. wait(0.2)
  65. swinging:Play()
  66. local se = Instance.new("Part", bat)
  67. se.Size = Vector3.new(1, 1, 3)
  68. se:BreakJoints()
  69. se.Transparency = 1
  70. se.CanCollide = false
  71. local dmgweld = Instance.new("Weld", se)
  72. dmgweld.Part0 = bat
  73. dmgweld.Part1 = se
  74. dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
  75. local function dmg(part)
  76. local hum = part.Parent:findFirstChild("Humanoid")
  77. if hum ~= nil then
  78. se:destroy()
  79. baseballhit:Play()
  80. baseballhit1:Play()
  81. hum.Health = hum.Health - math.random(25,35)
  82. hum.PlatformStand = true
  83. local tor = part.Parent:findFirstChild("Torso")
  84. local dmgmat = math.random(1,4)
  85. if dmgmat == 3 then
  86. batcritical:Play()
  87. hum.Health = hum.Health - math.random(98,135)
  88. end
  89. if tor then
  90. tor.RotVelocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 34
  91. tor.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 34
  92. end
  93. wait(2)
  94. hum.PlatformStand = false
  95. hit = false
  96. end
  97. end
  98. se.Touched:connect(dmg)
  99. for i = 0,1 , 0.2 do
  100. wait()
  101. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.7),i)
  102. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.70),i)
  103. rhandweld.C0 = rhandweld.C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.6),i)
  104. lhandweld.C0 = lhandweld.C0 * CFrame.new():lerp(CFrame.Angles(0.30,0,0),i)
  105. end
  106. for i = 1,2 do
  107. wait()
  108. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.1)
  109. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.3)
  110. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.4)
  111. end
  112. for i = 1,2 do
  113. wait()
  114. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.05)
  115. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
  116. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.2)
  117. end
  118. wait(0.2)
  119. for i = 1,2 do
  120. wait()
  121. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,0.05)
  122. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
  123. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.2)
  124. end
  125. for i = 1,2 do
  126. wait()
  127. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,0.06)
  128. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.2)
  129. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.2)
  130. end
  131. se:destroy()
  132. for i = 1,2 do
  133. wait()
  134. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,0.1)
  135. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.1)
  136. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.1)
  137. end
  138. for i = 1,2 do
  139. wait()
  140. game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.05)
  141. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.1)
  142. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.1)
  143. end
  144. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  145. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  146. lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  147. lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  148. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  149. rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  150. using = false
  151. end
  152. end
  153. function combo(key)
  154. key = key:lower()
  155. if key == "q" then
  156. if not using then
  157. using = true
  158. swinging:Play()
  159. for i = 1,2 do
  160. wait()
  161. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.05)
  162. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
  163. end
  164. for i = 1,3 do
  165. wait()
  166. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.47)
  167. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.47)
  168. end
  169. for i = 1,2 do
  170. wait()
  171. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.05)
  172. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
  173. end
  174. wait(0.4)
  175. swinging:Play()
  176. for i = 1,2 do
  177. wait()
  178. weld.C0 = weld.C0 * CFrame.Angles(0.13,0,0.05) * CFrame.new(0,-0.27,0.1)
  179. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.05,0,0)
  180. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.05,0,00)
  181. end
  182. for i = 1,3 do
  183. wait()
  184. weld.C0 = weld.C0 * CFrame.Angles(0.33,0,0.1) * CFrame.new(0,-0.66,0.3)
  185. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.2,0,0)
  186. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.2,0,0)
  187. end
  188. for i = 1,2 do
  189. wait()
  190. weld.C0 = weld.C0 * CFrame.Angles(0.13,0,0.05) * CFrame.new(0,-0.27,0.1)
  191. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.05,0,0)
  192. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.05,0,00)
  193. end
  194. wait(0.5)
  195. for i = 1,2 do
  196. wait()
  197. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
  198. end
  199. for i = 1,2 do
  200. wait()
  201. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.1)
  202. end
  203. for i = 1,2 do
  204. wait()
  205. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.2)
  206. end
  207. for i = 1,2 do
  208. wait()
  209. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.4)
  210. end
  211. swinging:Play()
  212. for i = 1,2 do
  213. wait()
  214. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.8)
  215. end
  216. local se = Instance.new("Part", bat)
  217. se.Size = Vector3.new(1, 1, 3)
  218. se:BreakJoints()
  219. se.Transparency = 1
  220. se.CanCollide = false
  221. local dmgweld = Instance.new("Weld", se)
  222. dmgweld.Part0 = bat
  223. dmgweld.Part1 = se
  224. dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
  225. local function dmg(part)
  226. if not hit then
  227. hit = true
  228. local hum = part.Parent:findFirstChild("Humanoid")
  229. if hum ~= nil then
  230. baseballhit:Play()
  231. baseballhit1:Play()
  232. hum.Health = hum.Health - math.random(5,25)
  233. hum.PlatformStand = true
  234. local tor = part.Parent:findFirstChild("Torso")
  235. if tor then
  236. local vel = Instance.new("BodyVelocity", tor)
  237. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  238. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 35
  239. wait(0.1)
  240. vel:destroy()
  241. hit = false
  242. end
  243. wait(0.2)
  244. hit = false
  245. wait(1.5)
  246. hum.PlatformStand = false
  247. end
  248. end
  249. end
  250. se.Touched:connect(dmg)
  251. for i = 1,20 do
  252. swinging:Play()
  253. for i = 1,10 do
  254. wait()
  255. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.9)
  256. end
  257. end
  258. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  259. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  260. for i = 1,2 do
  261. wait()
  262. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.05)
  263. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.05)
  264. end
  265. for i = 1,3 do
  266. wait()
  267. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.47)
  268. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.47)
  269. end
  270. for i = 1,2 do
  271. wait()
  272. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.05)
  273. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.05)
  274. end
  275. wait(0.4)
  276. swinging:Play()
  277. for i = 1,2 do
  278. wait()
  279. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
  280. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.05,0,00)
  281. end
  282. for i = 1,3 do
  283. wait()
  284. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.2,0,0)
  285. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.2,0,0)
  286. end
  287. for i = 1,2 do
  288. wait()
  289. lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
  290. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.05,0,00)
  291. end
  292. for i = 1,2 do
  293. wait()
  294. weld.C0 = weld.C0 * CFrame.Angles(-0.13,0,-0.05) * CFrame.new(0,0.27,-0.1)
  295. end
  296. for i = 1,3 do
  297. wait()
  298. weld.C0 = weld.C0 * CFrame.Angles(-0.33,0,-0.1) * CFrame.new(0,0.66,-0.3)
  299. end
  300. for i = 1,2 do
  301. wait()
  302. weld.C0 = weld.C0 * CFrame.Angles(-0.13,0,-0.05) * CFrame.new(0,0.27,-0.1)
  303. end
  304. weld.C0 = CFrame.new(-0.0159739517, -0.949999988, -1.89993286, -0.999964654, 0, -0.00840734318, 0, 1, 0, 0.00840734318, 0, -0.999964654)
  305. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  306. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  307. lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  308. lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  309. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  310. rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  311. using = false
  312. se:destroy()
  313. end
  314. end
  315. end
  316. mouse.KeyDown:connect(combo)
  317. mouse.Button1Down:connect(hit)
  318. --[[
  319. local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  320. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
  321. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  322. --]]
  323. --By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
  324. --die plz
  325.  
  326.  
  327.  
  328.  
  329. plr=game:service'Players'.LocalPlayer
  330. chr=plr.Character
  331. local ms = plr:GetMouse()
  332. CV="Bright red"
  333.  
  334. local txt = Instance.new("BillboardGui", chr)
  335. txt.Adornee = chr.Head
  336. txt.Name = "_status"
  337. txt.Size = UDim2.new(4, 0, 2.5, 0)
  338. txt.StudsOffset = Vector3.new(-4, 2, 0)
  339. local text = Instance.new("TextLabel", txt)
  340. text.Size = UDim2.new(3, 0, 0.5, 0)
  341. text.FontSize = "Size24"
  342. text.TextScaled = true
  343. text.TextTransparency = 0
  344. text.BackgroundTransparency = 1
  345. text.TextTransparency = 0
  346. text.TextStrokeTransparency = 0
  347. text.Font = "Bodoni"
  348. text.TextStrokeColor3 = Color3.new(1,1,1)
  349. text.Text = "Chef Anthony"
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356. mouse = game.Players.LocalPlayer:GetMouse()
  357. function ragdoll()
  358. game.Players.LocalPlayer.Character.Archivable = true
  359. clone = game.Players.LocalPlayer.Character:Clone()
  360. clone.Parent = workspace
  361. for i,v in pairs(clone:GetChildren()) do
  362. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  363. v:destroy()
  364. end
  365. for i,p in pairs(v:GetChildren()) do
  366. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  367. p:destroy()
  368. end
  369. end
  370. end
  371. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  372. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  373. t:destroy()
  374. end
  375. end
  376. vel = Instance.new("BodyVelocity", clone.Torso)
  377. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  378. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  379. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
  380. using = false
  381. hit = Instance.new("Sound", clone.Torso)
  382. hit.SoundId = "rbxassetid://260430060"
  383. hit.Volume = 5
  384. hit1 = Instance.new("Sound", clone.Torso)
  385. hit1.SoundId = "rbxassetid://138087186"
  386. hit1.Volume = 5
  387. hit2 = Instance.new("Sound", clone.Torso)
  388. hit2.SoundId = "rbxassetid://131237241"
  389. hit2.Volume = 5
  390. hit3 = Instance.new("Sound", clone.Torso)
  391. hit3.SoundId = "rbxassetid://278062209"
  392. hit3.Volume = 5
  393. hit3.TimePosition = 0.33
  394. ded = Instance.new("Sound", clone.Torso)
  395. ded.SoundId = "rbxassetid://418892870"
  396. ded.Volume = 5
  397. local leftarm = clone:findFirstChild("Left Arm")
  398. local rightrm = clone:findFirstChild("Right Arm")
  399. local leftleg = clone:findFirstChild("Left Leg")
  400. local rightleg = clone:findFirstChild("Right Leg")
  401. local head = clone:findFirstChild("Head")
  402. local welding = Instance.new("Weld", clone.Torso)
  403. welding.Part0 = clone.Torso
  404. welding.Part1 = head
  405. welding.C0 = welding.C0 * CFrame.new(0,1.5,0)
  406. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  407. if g.ClassName == "Part" then
  408. g:destroy()
  409. end
  410. end
  411. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  412. if h.ClassName == "Accesory" then
  413. h:destroy()
  414. end
  415. end
  416. game.Workspace.CurrentCamera.CameraSubject = head
  417. if leftleg ~= nil then
  418. local glue = Instance.new("Glue", clone.Torso)
  419. glue.Part0 = clone.Torso
  420. glue.Part1 = leftleg
  421. glue.Name = "Left leg"
  422. local collider = Instance.new("Part", leftleg)
  423. collider.Position = Vector3.new(0,999,0)
  424. collider.Size = Vector3.new(1.7, 1, 1)
  425. collider.Shape = "Cylinder"
  426. local weld = Instance.new("Weld", collider)
  427. weld.Part0 = leftleg
  428. weld.Part1 = collider
  429. weld.C0 = CFrame.Angles(0, 0, 80)
  430. collider.TopSurface = "Smooth"
  431. collider.BottomSurface = "Smooth"
  432. collider.formFactor = "Symmetric"
  433. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  434. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  435. collider.Transparency = 1
  436. end
  437. ------------
  438. if rightleg ~= nil then
  439. local glue1 = Instance.new("Glue", clone.Torso)
  440. glue1.Part0 = clone.Torso
  441. glue1.Part1 = rightleg
  442. glue1.Name = "Right leg"
  443. local collider1 = Instance.new("Part", rightleg)
  444. collider1.Position = Vector3.new(0,999,0)
  445. collider1.Size = Vector3.new(1.7, 1, 1)
  446. collider1.Shape = "Cylinder"
  447. local weld1 = Instance.new("Weld", collider1)
  448. weld1.Part0 = rightleg
  449. weld1.Part1 = collider1
  450. weld1.C0 = CFrame.Angles(0, 0, 80)
  451. collider1.TopSurface = "Smooth"
  452. collider1.BottomSurface = "Smooth"
  453. collider1.formFactor = "Symmetric"
  454. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  455. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  456. collider1.Transparency = 1
  457. end
  458. ------------
  459. if rightrm ~= nil then
  460. local glue11 = Instance.new("Glue", clone.Torso)
  461. glue11.Part0 = clone.Torso
  462. glue11.Part1 = rightrm
  463. glue11.Name = "Right shoulder"
  464. local collider11 = Instance.new("Part", rightrm)
  465. collider11.Position = Vector3.new(0,9999,0)
  466. collider11.Size = Vector3.new(1.8,1,1)
  467. collider11.Shape = "Cylinder"
  468. local weld11 = Instance.new("Weld", collider11)
  469. weld11.Part0 = rightrm
  470. weld11.Part1 = collider11
  471. weld11.C0 = CFrame.Angles(0, 0, 80)
  472. collider11.TopSurface = "Smooth"
  473. collider11.BottomSurface = "Smooth"
  474. collider11.formFactor = "Symmetric"
  475. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  476. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  477. collider11.Transparency = 1
  478. end
  479. ------------
  480. if leftarm ~= nil then
  481. local glue111 = Instance.new("Glue", clone.Torso)
  482. glue111.Part0 = clone.Torso
  483. glue111.Part1 = leftarm
  484. glue111.Name = "Left shoulder"
  485. local collider111 = Instance.new("Part", leftarm)
  486. collider111.Position = Vector3.new(0,9999,0)
  487. collider111.Size = Vector3.new(1.8,1,1)
  488. collider111.Shape = "Cylinder"
  489. local weld111 = Instance.new("Weld", collider111)
  490. weld111.Part0 = leftarm
  491. weld111.Part1 = collider111
  492. weld111.C0 = CFrame.Angles(0, 0, 80)
  493. collider111.TopSurface = "Smooth"
  494. collider111.BottomSurface = "Smooth"
  495. collider111.formFactor = "Symmetric"
  496. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  497. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  498. collider111.Transparency = 1
  499. ----------------
  500. sensoring = Instance.new("Part", clone.Torso)
  501. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  502. sensoring.CanCollide = false
  503. sensoring.Position = clone.Torso.Position
  504. local welder = Instance.new("Weld", sensoring)
  505. welder.Part0 = clone.Torso
  506. welder.Part1 = sensoring
  507. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  508. sensoring.Transparency = 1
  509. -----------------
  510. sensoring1 = Instance.new("Part", clone.Torso)
  511. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  512. sensoring1.CanCollide = false
  513. sensoring1.Position = clone.Torso.Position
  514. local welder1 = Instance.new("Weld", sensoring)
  515. welder1.Part0 = clone.Torso
  516. welder1.Part1 = sensoring1
  517. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  518. sensoring1.Transparency = 1
  519. end
  520. clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)"
  521. ded:Play()
  522. vel:destroy()
  523. wait(0.5)
  524. local function touch()
  525. if not using then
  526. using = true
  527. local Math = math.random(1,4)
  528. if Math == 1 then
  529. hit:Play()
  530. end
  531. if Math == 2 then
  532. hit1:Play()
  533. end
  534. if Math == 3 then
  535. hit2:Play()
  536. end
  537. if Math == 4 then
  538. hit3:Play()
  539. end
  540. wait(0.1)
  541. using = false
  542. end
  543. end
  544. sensoring.Touched:connect(touch)
  545. sensoring1.Touched:connect(touch)
  546. wait(4.47)
  547. hit1.Volume = 0
  548. hit2.Volume = 0
  549. hit3.Volume = 0
  550. hit.Volume = 0
  551. end
  552.  
  553. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560. ----------------------------------------------------
  561. shirt = Instance.new("Shirt", char)
  562. shirt.Name = "Shirt"
  563. pants = Instance.new("Pants", char)
  564. pants.Name = "Pants"
  565. char.Shirt.ShirtTemplate = "rbxassetid://237906462"
  566. char.Pants.PantsTemplate = "rbxassetid://237906462"
  567. ----------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement