Advertisement
refrop

saitama *new ver*

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