Advertisement
Guest User

Roblox SB RARE Stun Mace

a guest
Nov 20th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.25 KB | None | 0 0
  1. --By Rufus14
  2. char = game.Players.LocalPlayer.Character
  3. mouse = game.Players.LocalPlayer:GetMouse()
  4. char.Humanoid.MaxHealth = math.huge
  5. char.Humanoid.Health = math.huge
  6. songplaying = false
  7. song1 = Instance.new("Sound", game.Players.LocalPlayer.Character)
  8. song1.SoundId = "rbxassetid://890586400"
  9. song1.Volume = 3
  10. song1.Looped = true
  11. function song(key)
  12. key = key:lower()
  13. if key == "q" then
  14. songplaying = not songplaying
  15. if not songplaying then
  16. song1:Play()
  17. else
  18. song1:Stop()
  19. end
  20. end
  21. end
  22. mouse.KeyDown:connect(song)
  23. bat = Instance.new("Part", game.Players.LocalPlayer.Character)
  24. bat.Size = Vector3.new(1, 1, 5)
  25. bat.CanCollide = false
  26. bat:BreakJoints()
  27. swoosh = Instance.new("Sound", bat)
  28. swoosh.SoundId = "rbxassetid://608537390"
  29. swoosh.Volume = 5
  30. transform = Instance.new("Sound", bat)
  31. transform.SoundId = "rbxassetid://260433721"
  32. transform.Volume = 5
  33. freeze = Instance.new("Sound", bat)
  34. freeze.SoundId = "rbxassetid://268249319"
  35. freeze.Volume = 5
  36. die = Instance.new("Sound", bat)
  37. die.SoundId = "rbxassetid://506001681"
  38. die.Volume = 6
  39. hitsound = Instance.new("Sound", bat)
  40. hitsound.SoundId = "rbxassetid://10730819"
  41. hitsound.Volume = 5
  42. hitsoundmarker = Instance.new("Sound", bat)
  43. hitsoundmarker.SoundId = "rbxassetid://314390675"
  44. hitsoundmarker.Volume = 0
  45. weld = Instance.new("Weld", bat)
  46. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  47. weld.Part1 = bat
  48. weld.C0 = weld.C0 * CFrame.Angles(0,3.15,0) * CFrame.new(0,-0.95,1.9)
  49. print(weld.C0)
  50. mesh = Instance.new("SpecialMesh", bat)
  51. mesh.MeshId = "http://www.roblox.com/asset/?id=10730036"
  52. mesh.TextureId = "http://www.roblox.com/asset/?id=10730028"
  53. mesh.Scale = Vector3.new(2,2,2)
  54. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  55. game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove()
  56. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  57. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  58. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  59. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  60. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  61. game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove()
  62. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  63. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  64. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  65. lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  66. local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  67. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
  68. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  69. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  70. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  71. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  72. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  73. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  74. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  75. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  76. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  77. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  78. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  79. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  80. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  81. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  82. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  83. for i = 0,0.5 , 0.05 do
  84. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00790023804, 0.199968576, -0.00020980835, 0.999964595, -0.00790178124, 0.00306172855, 0.00790151209, 0.999969304, 0.000218808651, -0.0030639898, -0.000195354223, 0.999996841),i)
  85. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.505001068, -1.86916244, -0.621334076, 0.999965012, 0.00531583838, -0.00659736991, -0.00790282805, 0.865899682, -0.500156105, 0.00305361301, 0.500189841, 0.865911663),i)
  86. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.60521126, 0.0956981182, 0.261711121, 0.980589807, 0.186369807, -0.0609254427, -0.159354717, 0.938544989, 0.306180835, 0.114243567, -0.290528506, 0.95002687),i)
  87. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500003815, -1.98082137, 0.341064453, 1.00000024, -4.760921e-06, 6.13927841e-06, 2.53296457e-06, 0.939691961, 0.342023224, -7.70017505e-06, -0.342023879, 0.939692199),i)
  88. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.54322338, 0.0253696442, -0.292896271, 0.992699027, -0.0961229801, 0.0728714988, 0.115717016, 0.929440677, -0.35035944, -0.0340529159, 0.35623306, 0.933778286),i)
  89. game:GetService("RunService").RenderStepped:wait()
  90. end
  91. canwalk = true
  92. swinging = false
  93. candamage = true
  94. function swing()
  95. if not swinging then
  96. swinging = true
  97. canwalk = false
  98. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 11
  99. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 25
  100. for i = 0,1 , 0.05 do
  101. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.060305357, 0.342018127, 1, 0, 0, 0, 0.939693272, -0.342020303, 0, 0.342019916, 0.939693391),i)
  102. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.70000172, -0.519617081, 1, 0, 0, 0, 0.866026163, -0.499999225, 0, 0.499999225, 0.866026402),i)
  103. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.987316132, 0.282949448, -0.698820114, 0.939694464, -0.34202224, 2.70232778e-08, 0.0593919083, 0.163177595, -0.984809518, 0.336825609, 0.925419152, 0.173649967),i)
  104. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.30303764, 1.01691437, 0.573373795, 0.984808326, 0.173646584, -6.79235441e-08, 0.1116198, -0.633033633, 0.766036034, 0.133019418, -0.754398465, -0.642799139),i)
  105. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9396944, 0.342021942, 1, 0, 0, 0, 0.939693332, 0.342020005, 0, -0.342020273, 0.93969363),i)
  106. game:GetService("RunService").RenderStepped:wait()
  107. end
  108. swoosh:Play()
  109. local se = Instance.new("Part", bat)
  110. se.Size = Vector3.new(1.5, 1, 3)
  111. se:BreakJoints()
  112. se.Transparency = 1
  113. se.CanCollide = false
  114. local dmgweld = Instance.new("Weld", se)
  115. dmgweld.Part0 = bat
  116. dmgweld.Part1 = se
  117. dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
  118. local function setouch(part)
  119. local humanoid = part.Parent:findFirstChild("Humanoid")
  120. if humanoid and candamage then
  121. se:destroy()
  122. hitsound:Play()
  123. hitsoundmarker:Play()
  124. local dedsound = humanoid.Parent.Head:findFirstChild("Died")
  125. local kysniba = Instance.new("BodyVelocity", humanoid.Parent.Torso)
  126. kysniba.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  127. kysniba.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * math.random(5,35)
  128. if dedsound then
  129. dedsound:Play()
  130. dedsound.Volume = 8
  131. end
  132. humanoid.Health = humanoid.Health - math.random(35,50)
  133. humanoid.Parent.Head.face.Texture = "rbxassetid://476060645"
  134. humanoid.PlatformStand = true
  135. wait()
  136. kysniba:destroy()
  137. local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone()
  138. local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
  139. local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone()
  140. local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone()
  141. local leftarm = humanoid.Parent["Left Arm"]
  142. local rightrm = humanoid.Parent["Right Arm"]
  143. local leftleg = humanoid.Parent["Left Leg"]
  144. local rightleg = humanoid.Parent["Right Leg"]
  145. humanoid.Parent.Torso["Left Hip"]:destroy()
  146. local head = humanoid.Parent.Head
  147. glue = Instance.new("Glue", humanoid.Parent.Torso)
  148. glue.Part0 = humanoid.Parent.Torso
  149. glue.Part1 = leftleg
  150. glue.Name = "Left leg"
  151. collider = Instance.new("Part", leftleg)
  152. collider.Position = Vector3.new(0,999,0)
  153. collider.Size = Vector3.new(1.5, 1, 1)
  154. collider.Shape = "Cylinder"
  155. local weld = Instance.new("Weld", collider)
  156. weld.Part0 = leftleg
  157. weld.Part1 = collider
  158. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  159. collider.TopSurface = "Smooth"
  160. collider.BottomSurface = "Smooth"
  161. collider.formFactor = "Symmetric"
  162. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  163. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  164. collider.Transparency = 1
  165. ------------
  166. humanoid.Parent.Torso["Right Hip"]:destroy()
  167. glue1 = Instance.new("Glue", humanoid.Parent.Torso)
  168. glue1.Part0 = humanoid.Parent.Torso
  169. glue1.Part1 = rightleg
  170. glue1.Name = "Right leg"
  171. collider1 = Instance.new("Part", rightleg)
  172. collider1.Position = Vector3.new(0,9999,0)
  173. collider1.Size = Vector3.new(1.5, 1, 1)
  174. collider1.Shape = "Cylinder"
  175. local weld1 = Instance.new("Weld", collider1)
  176. weld1.Part0 = rightleg
  177. weld1.Part1 = collider1
  178. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  179. collider1.TopSurface = "Smooth"
  180. collider1.BottomSurface = "Smooth"
  181. collider1.formFactor = "Symmetric"
  182. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  183. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  184. collider1.Transparency = 1
  185. ------------
  186. humanoid.Parent.Torso["Right Shoulder"]:destroy()
  187. glue11 = Instance.new("Glue", humanoid.Parent.Torso)
  188. glue11.Part0 = humanoid.Parent.Torso
  189. glue11.Part1 = rightrm
  190. glue11.Name = "Right shoulder"
  191. collider11 = Instance.new("Part", rightrm)
  192. collider11.Position = Vector3.new(0,9999,0)
  193. collider11.Size = Vector3.new(1.8,1,1)
  194. collider11.Shape = "Cylinder"
  195. local weld11 = Instance.new("Weld", collider11)
  196. weld11.Part0 = rightrm
  197. weld11.Part1 = collider11
  198. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  199. collider11.TopSurface = "Smooth"
  200. collider11.BottomSurface = "Smooth"
  201. collider11.formFactor = "Symmetric"
  202. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  203. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  204. collider11.Transparency = 1
  205. ------------
  206. humanoid.Parent.Torso["Left Shoulder"]:destroy()
  207. glue111 = Instance.new("Glue", humanoid.Parent.Torso)
  208. glue111.Part0 = humanoid.Parent.Torso
  209. glue111.Part1 = leftarm
  210. glue111.Name = "Left shoulder"
  211. collider111 = Instance.new("Part", leftarm)
  212. collider111.Position = Vector3.new(0,9999,0)
  213. collider111.Size = Vector3.new(1.5, 1, 1)
  214. collider111.Shape = "Cylinder"
  215. local weld111 = Instance.new("Weld", collider111)
  216. weld111.Part0 = leftarm
  217. weld111.Part1 = collider111
  218. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  219. collider111.TopSurface = "Smooth"
  220. collider111.BottomSurface = "Smooth"
  221. collider111.formFactor = "Symmetric"
  222. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  223. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  224. collider111.Transparency = 1
  225. -----------------
  226. wait(40.5)
  227. humanoid.WalkSpeed = 0
  228. lshclone.Parent = humanoid.Parent.Torso
  229. glue:destroy()
  230. rshclone.Parent = humanoid.Parent.Torso
  231. glue1:destroy()
  232. lhclone.Parent = humanoid.Parent.Torso
  233. glue11:destroy()
  234. rhclone.Parent = humanoid.Parent.Torso
  235. glue111:destroy()
  236. collider:destroy()
  237. collider1:destroy()
  238. collider11:destroy()
  239. collider111:destroy()
  240. humanoid.PlatformStand = false
  241. end
  242. end
  243. se.Touched:connect(setouch)
  244. for i = 0,1 , 0.11 do
  245. weld.C0 = weld.C0:lerp(CFrame.new(-0.297571182, -1.49015808, -1.51836586, -0.985374331, -0.0475560725, -0.163633719, 0.00750970328, 0.947216451, -0.32050702, 0.170238599, -0.317048222, -0.933005512),i)
  246. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(1.90734863e-06, -0.0151953697, -0.173664093, 1.00000513, -3.31550837e-07, -2.52574682e-06, 5.01750037e-08, 0.984812319, 0.173652053, 2.98023224e-08, -0.173651025, 0.98481524),i)
  247. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500009537, -1.70720339, 1.0928154, 1, -3.39564826e-06, 3.12621842e-06, -1.00954344e-06, 0.500003278, 0.866023481, -4.5038305e-06, -0.866023481, 0.500003278),i)
  248. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.76405525, 0.315278292, 0.180755615, 0.955111921, 0.296198726, -0.0052483133, -0.103770666, 0.351103872, 0.930568516, 0.277475923, -0.888252497, 0.366080195),i)
  249. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.10239601, 0.189299107, -0.839540482, 0.938380003, 0.344308525, 0.0301573183, -0.148524553, 0.480493009, -0.864339054, -0.312090695, 0.806592703, 0.50202179),i)
  250. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.500007629, -1.98484421, -0.173652649, 1.00000513, 5.01750037e-08, 2.98023224e-08, -3.31550837e-07, 0.984812319, -0.173651025, -2.52574682e-06, 0.173652053, 0.98481524),i)
  251. game:GetService("RunService").RenderStepped:wait()
  252. end
  253. for i = 0,0.5 , 0.03 do
  254. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  255. weld.C0 = weld.C0:lerp(CFrame.new(-0.0159739517, -0.949999988, -1.89993286, -0.999964654, 0, -0.00840734318, 0, 1, 0, 0.00840734318, 0, -0.999964654),i)
  256. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  257. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5622654, 0.129275084, -0.0601882935, 0.980589986, 0.172955066, -0.0923573449, -0.159350663, 0.977449715, 0.138561979, 0.114239655, -0.121155277, 0.98603791),i)
  258. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  259. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.53644848, 0.148818254, -0.0714874268, 0.992697001, -0.115257569, 0.0356137939, 0.115724243, 0.993216813, -0.01132611, -0.0340668, 0.0153647754, 0.999301434),i)
  260. game:GetService("RunService").RenderStepped:wait()
  261. end
  262. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
  263. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  264. se:destroy()
  265. canwalk = true
  266. swinging = false
  267. end
  268. end
  269. function swing()
  270. if not swinging then
  271. swinging = true
  272. canwalk = false
  273. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 11
  274. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 25
  275. for i = 0,1 , 0.05 do
  276. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.060305357, 0.342018127, 1, 0, 0, 0, 0.939693272, -0.342020303, 0, 0.342019916, 0.939693391),i)
  277. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.70000172, -0.519617081, 1, 0, 0, 0, 0.866026163, -0.499999225, 0, 0.499999225, 0.866026402),i)
  278. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.987316132, 0.282949448, -0.698820114, 0.939694464, -0.34202224, 2.70232778e-08, 0.0593919083, 0.163177595, -0.984809518, 0.336825609, 0.925419152, 0.173649967),i)
  279. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.30303764, 1.01691437, 0.573373795, 0.984808326, 0.173646584, -6.79235441e-08, 0.1116198, -0.633033633, 0.766036034, 0.133019418, -0.754398465, -0.642799139),i)
  280. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9396944, 0.342021942, 1, 0, 0, 0, 0.939693332, 0.342020005, 0, -0.342020273, 0.93969363),i)
  281. game:GetService("RunService").RenderStepped:wait()
  282. end
  283. swoosh:Play()
  284. local se = Instance.new("Part", bat)
  285. se.Size = Vector3.new(1.5, 1, 3)
  286. se:BreakJoints()
  287. se.Transparency = 1
  288. se.CanCollide = false
  289. local dmgweld = Instance.new("Weld", se)
  290. dmgweld.Part0 = bat
  291. dmgweld.Part1 = se
  292. dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
  293. local function setouch(part)
  294. local humanoid = part.Parent:findFirstChild("Humanoid")
  295. if humanoid and candamage then
  296. se:destroy()
  297. hitsound:Play()
  298. hitsoundmarker:Play()
  299. local dedsound = humanoid.Parent.Head:findFirstChild("Died")
  300. local kysniba = Instance.new("BodyVelocity", humanoid.Parent.Torso)
  301. kysniba.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  302. kysniba.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * math.random(5,35)
  303. if dedsound then
  304. dedsound:Play()
  305. dedsound.Volume = 8
  306. end
  307. humanoid.Health = humanoid.Health - math.random(35,50)
  308. humanoid.Parent.Head.face.Texture = "rbxassetid://476060645"
  309. humanoid.PlatformStand = true
  310. wait()
  311. kysniba:destroy()
  312. local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone()
  313. local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
  314. local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone()
  315. local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone()
  316. local leftarm = humanoid.Parent["Left Arm"]
  317. local rightrm = humanoid.Parent["Right Arm"]
  318. local leftleg = humanoid.Parent["Left Leg"]
  319. local rightleg = humanoid.Parent["Right Leg"]
  320. humanoid.Parent.Torso["Left Hip"]:destroy()
  321. local head = humanoid.Parent.Head
  322. glue = Instance.new("Glue", humanoid.Parent.Torso)
  323. glue.Part0 = humanoid.Parent.Torso
  324. glue.Part1 = leftleg
  325. glue.Name = "Left leg"
  326. collider = Instance.new("Part", leftleg)
  327. collider.Position = Vector3.new(0,999,0)
  328. collider.Size = Vector3.new(1.5, 1, 1)
  329. collider.Shape = "Cylinder"
  330. local weld = Instance.new("Weld", collider)
  331. weld.Part0 = leftleg
  332. weld.Part1 = collider
  333. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  334. collider.TopSurface = "Smooth"
  335. collider.BottomSurface = "Smooth"
  336. collider.formFactor = "Symmetric"
  337. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  338. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  339. collider.Transparency = 1
  340. ------------
  341. humanoid.Parent.Torso["Right Hip"]:destroy()
  342. glue1 = Instance.new("Glue", humanoid.Parent.Torso)
  343. glue1.Part0 = humanoid.Parent.Torso
  344. glue1.Part1 = rightleg
  345. glue1.Name = "Right leg"
  346. collider1 = Instance.new("Part", rightleg)
  347. collider1.Position = Vector3.new(0,9999,0)
  348. collider1.Size = Vector3.new(1.5, 1, 1)
  349. collider1.Shape = "Cylinder"
  350. local weld1 = Instance.new("Weld", collider1)
  351. weld1.Part0 = rightleg
  352. weld1.Part1 = collider1
  353. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  354. collider1.TopSurface = "Smooth"
  355. collider1.BottomSurface = "Smooth"
  356. collider1.formFactor = "Symmetric"
  357. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  358. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  359. collider1.Transparency = 1
  360. ------------
  361. humanoid.Parent.Torso["Right Shoulder"]:destroy()
  362. glue11 = Instance.new("Glue", humanoid.Parent.Torso)
  363. glue11.Part0 = humanoid.Parent.Torso
  364. glue11.Part1 = rightrm
  365. glue11.Name = "Right shoulder"
  366. collider11 = Instance.new("Part", rightrm)
  367. collider11.Position = Vector3.new(0,9999,0)
  368. collider11.Size = Vector3.new(1.8,1,1)
  369. collider11.Shape = "Cylinder"
  370. local weld11 = Instance.new("Weld", collider11)
  371. weld11.Part0 = rightrm
  372. weld11.Part1 = collider11
  373. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  374. collider11.TopSurface = "Smooth"
  375. collider11.BottomSurface = "Smooth"
  376. collider11.formFactor = "Symmetric"
  377. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  378. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  379. collider11.Transparency = 1
  380. ------------
  381. humanoid.Parent.Torso["Left Shoulder"]:destroy()
  382. glue111 = Instance.new("Glue", humanoid.Parent.Torso)
  383. glue111.Part0 = humanoid.Parent.Torso
  384. glue111.Part1 = leftarm
  385. glue111.Name = "Left shoulder"
  386. collider111 = Instance.new("Part", leftarm)
  387. collider111.Position = Vector3.new(0,9999,0)
  388. collider111.Size = Vector3.new(1.5, 1, 1)
  389. collider111.Shape = "Cylinder"
  390. local weld111 = Instance.new("Weld", collider111)
  391. weld111.Part0 = leftarm
  392. weld111.Part1 = collider111
  393. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  394. collider111.TopSurface = "Smooth"
  395. collider111.BottomSurface = "Smooth"
  396. collider111.formFactor = "Symmetric"
  397. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  398. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  399. collider111.Transparency = 1
  400. -----------------
  401. wait(40.5)
  402. humanoid.WalkSpeed = 0
  403. lshclone.Parent = humanoid.Parent.Torso
  404. glue:destroy()
  405. rshclone.Parent = humanoid.Parent.Torso
  406. glue1:destroy()
  407. lhclone.Parent = humanoid.Parent.Torso
  408. glue11:destroy()
  409. rhclone.Parent = humanoid.Parent.Torso
  410. glue111:destroy()
  411. collider:destroy()
  412. collider1:destroy()
  413. collider11:destroy()
  414. collider111:destroy()
  415. humanoid.PlatformStand = false
  416. end
  417. end
  418. se.Touched:connect(setouch)
  419. for i = 0,1 , 0.11 do
  420. weld.C0 = weld.C0:lerp(CFrame.new(-0.297571182, -1.49015808, -1.51836586, -0.985374331, -0.0475560725, -0.163633719, 0.00750970328, 0.947216451, -0.32050702, 0.170238599, -0.317048222, -0.933005512),i)
  421. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(1.90734863e-06, -0.0151953697, -0.173664093, 1.00000513, -3.31550837e-07, -2.52574682e-06, 5.01750037e-08, 0.984812319, 0.173652053, 2.98023224e-08, -0.173651025, 0.98481524),i)
  422. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500009537, -1.70720339, 1.0928154, 1, -3.39564826e-06, 3.12621842e-06, -1.00954344e-06, 0.500003278, 0.866023481, -4.5038305e-06, -0.866023481, 0.500003278),i)
  423. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.76405525, 0.315278292, 0.180755615, 0.955111921, 0.296198726, -0.0052483133, -0.103770666, 0.351103872, 0.930568516, 0.277475923, -0.888252497, 0.366080195),i)
  424. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.10239601, 0.189299107, -0.839540482, 0.938380003, 0.344308525, 0.0301573183, -0.148524553, 0.480493009, -0.864339054, -0.312090695, 0.806592703, 0.50202179),i)
  425. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.500007629, -1.98484421, -0.173652649, 1.00000513, 5.01750037e-08, 2.98023224e-08, -3.31550837e-07, 0.984812319, -0.173651025, -2.52574682e-06, 0.173652053, 0.98481524),i)
  426. game:GetService("RunService").RenderStepped:wait()
  427. end
  428. for i = 0,0.5 , 0.03 do
  429. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  430. weld.C0 = weld.C0:lerp(CFrame.new(-0.0159739517, -0.949999988, -1.89993286, -0.999964654, 0, -0.00840734318, 0, 1, 0, 0.00840734318, 0, -0.999964654),i)
  431. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  432. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5622654, 0.129275084, -0.0601882935, 0.980589986, 0.172955066, -0.0923573449, -0.159350663, 0.977449715, 0.138561979, 0.114239655, -0.121155277, 0.98603791),i)
  433. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  434. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.53644848, 0.148818254, -0.0714874268, 0.992697001, -0.115257569, 0.0356137939, 0.115724243, 0.993216813, -0.01132611, -0.0340668, 0.0153647754, 0.999301434),i)
  435. game:GetService("RunService").RenderStepped:wait()
  436. end
  437. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
  438. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  439. se:destroy()
  440. canwalk = true
  441. swinging = false
  442. end
  443. end
  444. function homerun(key)
  445. key = key:lower()
  446. if key == "e" then
  447. if not swinging then
  448. swinging = true
  449. canwalk = false
  450. wait(0.0)
  451. for i = 0,0.5 , 0.04 do
  452. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.0025062561, -3.14712524e-05, -0.00749588013, 0.344882131, -0.00252126367, -0.938642621, 0.0078982953, 0.999968827, 0.0002160515, 0.938612878, -0.00748818787, 0.34489125),i)
  453. weld.C0 = weld.C0:lerp(CFrame.new(0.166256905, -0.98138237, 1.23845291, 0.0427939594, 0.998588681, -0.0317649394, -0.996390939, 0.0449908599, 0.0719992965, 0.0733263046, 0.0285686739, 0.996902406),i)
  454. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  455. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.115190506, 0.512830734, -0.79851532, 0.673410773, -0.722994387, -0.154290587, -0.143455178, 0.0769419968, -0.986662924, 0.725221038, 0.686558425, -0.0519037582),i)
  456. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  457. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.29099751, 0.444964886, -0.534446716, -0.115245081, 0.0356208719, 0.992698252, 0.993218303, -0.0113236597, 0.115711786, 0.0153627321, 0.999301195, -0.0340743102),i)
  458. game:GetService("RunService").RenderStepped:wait()
  459. end
  460. wait(0.1)
  461. swoosh:Play()
  462. local se = Instance.new("Part", bat)
  463. se.Size = Vector3.new(1.5, 1, 3)
  464. se:BreakJoints()
  465. se.Transparency = 1
  466. se.CanCollide = false
  467. local dmgweld = Instance.new("Weld", se)
  468. dmgweld.Part0 = bat
  469. dmgweld.Part1 = se
  470. dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
  471. local function setouch(part)
  472. local humanoid = part.Parent:findFirstChild("Humanoid")
  473. if humanoid and candamage then
  474. se:destroy()
  475. hitsound:Play()
  476. hitsoundmarker:Play()
  477. local dedsound = humanoid.Parent.Head:findFirstChild("Died")
  478. local kysniba = Instance.new("BodyVelocity", humanoid.Parent.Torso)
  479. kysniba.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  480. kysniba.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * math.random(-45,-40)
  481. if dedsound then
  482. dedsound:Play()
  483. dedsound.Volume = 8
  484. end
  485. humanoid.Parent.Head.face.Texture = "rbxassetid://476060645"
  486. humanoid.Health = humanoid.Health - math.random(60,70)
  487. humanoid.PlatformStand = true
  488. wait()
  489. kysniba:destroy()
  490. local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone()
  491. local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
  492. local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone()
  493. local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone()
  494. local leftarm = humanoid.Parent["Left Arm"]
  495. local rightrm = humanoid.Parent["Right Arm"]
  496. local leftleg = humanoid.Parent["Left Leg"]
  497. local rightleg = humanoid.Parent["Right Leg"]
  498. humanoid.Parent.Torso["Left Hip"]:destroy()
  499. local head = humanoid.Parent.Head
  500. glue = Instance.new("Glue", humanoid.Parent.Torso)
  501. glue.Part0 = humanoid.Parent.Torso
  502. glue.Part1 = leftleg
  503. glue.Name = "Left leg"
  504. collider = Instance.new("Part", leftleg)
  505. collider.Position = Vector3.new(0,999,0)
  506. collider.Size = Vector3.new(1.5, 1, 1)
  507. collider.Shape = "Cylinder"
  508. local weld = Instance.new("Weld", collider)
  509. weld.Part0 = leftleg
  510. weld.Part1 = collider
  511. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  512. collider.TopSurface = "Smooth"
  513. collider.BottomSurface = "Smooth"
  514. collider.formFactor = "Symmetric"
  515. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  516. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  517. collider.Transparency = 1
  518. ------------
  519. humanoid.Parent.Torso["Right Hip"]:destroy()
  520. glue1 = Instance.new("Glue", humanoid.Parent.Torso)
  521. glue1.Part0 = humanoid.Parent.Torso
  522. glue1.Part1 = rightleg
  523. glue1.Name = "Right leg"
  524. collider1 = Instance.new("Part", rightleg)
  525. collider1.Position = Vector3.new(0,9999,0)
  526. collider1.Size = Vector3.new(1.5, 1, 1)
  527. collider1.Shape = "Cylinder"
  528. local weld1 = Instance.new("Weld", collider1)
  529. weld1.Part0 = rightleg
  530. weld1.Part1 = collider1
  531. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  532. collider1.TopSurface = "Smooth"
  533. collider1.BottomSurface = "Smooth"
  534. collider1.formFactor = "Symmetric"
  535. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  536. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  537. collider1.Transparency = 1
  538. ------------
  539. humanoid.Parent.Torso["Right Shoulder"]:destroy()
  540. glue11 = Instance.new("Glue", humanoid.Parent.Torso)
  541. glue11.Part0 = humanoid.Parent.Torso
  542. glue11.Part1 = rightrm
  543. glue11.Name = "Right shoulder"
  544. collider11 = Instance.new("Part", rightrm)
  545. collider11.Position = Vector3.new(0,9999,0)
  546. collider11.Size = Vector3.new(1.8,1,1)
  547. collider11.Shape = "Cylinder"
  548. local weld11 = Instance.new("Weld", collider11)
  549. weld11.Part0 = rightrm
  550. weld11.Part1 = collider11
  551. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  552. collider11.TopSurface = "Smooth"
  553. collider11.BottomSurface = "Smooth"
  554. collider11.formFactor = "Symmetric"
  555. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  556. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  557. collider11.Transparency = 1
  558. ------------
  559. humanoid.Parent.Torso["Left Shoulder"]:destroy()
  560. glue111 = Instance.new("Glue", humanoid.Parent.Torso)
  561. glue111.Part0 = humanoid.Parent.Torso
  562. glue111.Part1 = leftarm
  563. glue111.Name = "Left shoulder"
  564. collider111 = Instance.new("Part", leftarm)
  565. collider111.Position = Vector3.new(0,9999,0)
  566. collider111.Size = Vector3.new(1.5, 1, 1)
  567. collider111.Shape = "Cylinder"
  568. local weld111 = Instance.new("Weld", collider111)
  569. weld111.Part0 = leftarm
  570. weld111.Part1 = collider111
  571. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  572. collider111.TopSurface = "Smooth"
  573. collider111.BottomSurface = "Smooth"
  574. collider111.formFactor = "Symmetric"
  575. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  576. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  577. collider111.Transparency = 1
  578. -----------------
  579. wait(20.5)
  580. lshclone.Parent = humanoid.Parent.Torso
  581. glue:destroy()
  582. rshclone.Parent = humanoid.Parent.Torso
  583. glue1:destroy()
  584. lhclone.Parent = humanoid.Parent.Torso
  585. glue11:destroy()
  586. rhclone.Parent = humanoid.Parent.Torso
  587. glue111:destroy()
  588. collider:destroy()
  589. collider1:destroy()
  590. collider11:destroy()
  591. collider111:destroy()
  592. humanoid.PlatformStand = false
  593. end
  594. end
  595. se.Touched:connect(setouch)
  596. for i = 0,1 , 0.06 do
  597. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00290107727, -3.14712524e-05, 0.00735473633, 0.339134485, -0.00288238749, 0.940737188, 0.00789805129, 0.999969661, 0.00021667406, -0.940710008, 0.0073564481, 0.339143455),i)
  598. weld.C0 = weld.C0:lerp(CFrame.new(0.363064766, -3.34135723, -0.00578689575, 0.129290998, 0.977891922, 0.164350972, 0.115099035, 0.149822131, -0.981990576, -0.98490411, 0.145879179, -0.0931837559),i)
  599. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  600. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.463953018, 0.485588312, -1.28636932, 0.788734317, -0.595068872, -0.154285714, -0.154632434, 0.0508582667, -0.986663163, 0.594980121, 0.802068651, -0.0519035384),i)
  601. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  602. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.980017662, 0.469520569, -1.02002907, -0.115247473, 0.527205765, 0.841893554, 0.993219674, 0.0480508804, 0.105872333, 0.0153623596, 0.848385453, -0.529164553),i)
  603. game:GetService("RunService").RenderStepped:wait()
  604. end
  605. for i = 0,0.6 , 0.06 do
  606. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.0037689209, -3.1709671e-05, -0.00695133209, 0.502638817, -0.0037825685, -0.864492178, 0.00789782684, 0.999969304, 0.000216558576, 0.864467442, -0.00693635643, 0.502654672),i)
  607. weld.C0 = weld.C0:lerp(CFrame.new(0.363064766, -3.34135723, -0.00578689575, 0.129290998, 0.977891922, 0.164350972, 0.115099035, 0.149822131, -0.981990576, -0.98490411, 0.145879179, -0.0931837559),i)
  608. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  609. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.463953018, 0.485588312, -1.28636932, 0.788734317, -0.595068872, -0.154285714, -0.154632434, 0.0508582667, -0.986663163, 0.594980121, 0.802068651, -0.0519035384),i)
  610. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  611. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.980017662, 0.469520569, -1.02002907, -0.115247473, 0.527205765, 0.841893554, 0.993219674, 0.0480508804, 0.105872333, 0.0153623596, 0.848385453, -0.529164553),i)
  612. game:GetService("RunService").RenderStepped:wait()
  613. end
  614. se:destroy()
  615. swinging = false
  616. canwalk = true
  617. end
  618. end
  619. end
  620. function homerunfreeze(key)
  621. key = key:lower()
  622. if key == "y" then
  623. if not swinging then
  624. transform:Play()
  625. mesh.TextureId = "rbxassetid://133619334"
  626. swinging = true
  627. canwalk = false
  628. wait(0.5)
  629. for i = 0,0.5 , 0.04 do
  630. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.0025062561, -3.14712524e-05, -0.00749588013, 0.344882131, -0.00252126367, -0.938642621, 0.0078982953, 0.999968827, 0.0002160515, 0.938612878, -0.00748818787, 0.34489125),i)
  631. weld.C0 = weld.C0:lerp(CFrame.new(0.166256905, -0.98138237, 1.23845291, 0.0427939594, 0.998588681, -0.0317649394, -0.996390939, 0.0449908599, 0.0719992965, 0.0733263046, 0.0285686739, 0.996902406),i)
  632. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  633. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.115190506, 0.512830734, -0.79851532, 0.673410773, -0.722994387, -0.154290587, -0.143455178, 0.0769419968, -0.986662924, 0.725221038, 0.686558425, -0.0519037582),i)
  634. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  635. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.29099751, 0.444964886, -0.534446716, -0.115245081, 0.0356208719, 0.992698252, 0.993218303, -0.0113236597, 0.115711786, 0.0153627321, 0.999301195, -0.0340743102),i)
  636. game:GetService("RunService").RenderStepped:wait()
  637. end
  638. wait(0.1)
  639. swoosh:Play()
  640. local se = Instance.new("Part", bat)
  641. se.Size = Vector3.new(1.5, 1, 3)
  642. se:BreakJoints()
  643. se.Transparency = 1
  644. se.CanCollide = false
  645. local dmgweld = Instance.new("Weld", se)
  646. dmgweld.Part0 = bat
  647. dmgweld.Part1 = se
  648. dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
  649. local function setouch(part)
  650. local humanoid = part.Parent:findFirstChild("Humanoid")
  651. if humanoid and candamage then
  652. se:destroy()
  653. freeze:Play()
  654. hitsoundmarker:Play()
  655. local dedsound = humanoid.Parent.Head:findFirstChild("Died")
  656. local kysniba = Instance.new("BodyVelocity", humanoid.Parent.Torso)
  657. kysniba.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  658. kysniba.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * math.random(-45,-40)
  659. if dedsound then
  660. dedsound:Play()
  661. dedsound.Volume = 8
  662. end
  663. humanoid.Parent.Head.face.Texture = "rbxassetid://476060645"
  664. humanoid.Health = humanoid.Health - math.random(5,11)
  665. humanoid.PlatformStand = true
  666. humanoid.WalkSpeed = 0
  667. humanoid.Parent.Head.Anchored = true
  668. humanoid.Parent.Head.BrickColor = BrickColor.new("Cyan")
  669. kysniba:Destroy()
  670. humanoid.PlatformStand = false
  671. end
  672. end
  673. se.Touched:connect(setouch)
  674. for i = 0,1 , 0.06 do
  675. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00290107727, -3.14712524e-05, 0.00735473633, 0.339134485, -0.00288238749, 0.940737188, 0.00789805129, 0.999969661, 0.00021667406, -0.940710008, 0.0073564481, 0.339143455),i)
  676. weld.C0 = weld.C0:lerp(CFrame.new(0.363064766, -3.34135723, -0.00578689575, 0.129290998, 0.977891922, 0.164350972, 0.115099035, 0.149822131, -0.981990576, -0.98490411, 0.145879179, -0.0931837559),i)
  677. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  678. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.463953018, 0.485588312, -1.28636932, 0.788734317, -0.595068872, -0.154285714, -0.154632434, 0.0508582667, -0.986663163, 0.594980121, 0.802068651, -0.0519035384),i)
  679. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  680. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.980017662, 0.469520569, -1.02002907, -0.115247473, 0.527205765, 0.841893554, 0.993219674, 0.0480508804, 0.105872333, 0.0153623596, 0.848385453, -0.529164553),i)
  681. game:GetService("RunService").RenderStepped:wait()
  682. end
  683. for i = 0,0.6 , 0.06 do
  684. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.0037689209, -3.1709671e-05, -0.00695133209, 0.502638817, -0.0037825685, -0.864492178, 0.00789782684, 0.999969304, 0.000216558576, 0.864467442, -0.00693635643, 0.502654672),i)
  685. weld.C0 = weld.C0:lerp(CFrame.new(0.363064766, -3.34135723, -0.00578689575, 0.129290998, 0.977891922, 0.164350972, 0.115099035, 0.149822131, -0.981990576, -0.98490411, 0.145879179, -0.0931837559),i)
  686. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  687. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.463953018, 0.485588312, -1.28636932, 0.788734317, -0.595068872, -0.154285714, -0.154632434, 0.0508582667, -0.986663163, 0.594980121, 0.802068651, -0.0519035384),i)
  688. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  689. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.980017662, 0.469520569, -1.02002907, -0.115247473, 0.527205765, 0.841893554, 0.993219674, 0.0480508804, 0.105872333, 0.0153623596, 0.848385453, -0.529164553),i)
  690. game:GetService("RunService").RenderStepped:wait()
  691. end
  692. se:destroy()
  693. swinging = false
  694. canwalk = true
  695. mesh.TextureId = "rbxassetid://10730028"
  696. end
  697. end
  698. end
  699. function homerunheavy(key)
  700. key = key:lower()
  701. if key == "t" then
  702. if not swinging then
  703. swinging = true
  704. canwalk = false
  705. wait(0.2)
  706. for i = 0,0.5 , 0.04 do
  707. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.0025062561, -3.14712524e-05, -0.00749588013, 0.344882131, -0.00252126367, -0.938642621, 0.0078982953, 0.999968827, 0.0002160515, 0.938612878, -0.00748818787, 0.34489125),i)
  708. weld.C0 = weld.C0:lerp(CFrame.new(0.166256905, -0.98138237, 1.23845291, 0.0427939594, 0.998588681, -0.0317649394, -0.996390939, 0.0449908599, 0.0719992965, 0.0733263046, 0.0285686739, 0.996902406),i)
  709. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  710. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.115190506, 0.512830734, -0.79851532, 0.673410773, -0.722994387, -0.154290587, -0.143455178, 0.0769419968, -0.986662924, 0.725221038, 0.686558425, -0.0519037582),i)
  711. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  712. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.29099751, 0.444964886, -0.534446716, -0.115245081, 0.0356208719, 0.992698252, 0.993218303, -0.0113236597, 0.115711786, 0.0153627321, 0.999301195, -0.0340743102),i)
  713. game:GetService("RunService").RenderStepped:wait()
  714. end
  715. wait(0.1)
  716. swoosh:Play()
  717. local se = Instance.new("Part", bat)
  718. se.Size = Vector3.new(1.5, 1, 3)
  719. se:BreakJoints()
  720. se.Transparency = 1
  721. se.CanCollide = false
  722. local dmgweld = Instance.new("Weld", se)
  723. dmgweld.Part0 = bat
  724. dmgweld.Part1 = se
  725. dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
  726. local function setouch(part)
  727. local humanoid = part.Parent:findFirstChild("Humanoid")
  728. if humanoid and candamage then
  729. se:destroy()
  730. hitsound:Play()
  731. hitsoundmarker:Play()
  732. humanoid.Parent.Head.BrickColor = BrickColor.new("Maroon")
  733. local dedsound = humanoid.Parent.Head:findFirstChild("Died")
  734. local kysniba = Instance.new("BodyVelocity", humanoid.Parent.Torso)
  735. kysniba.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  736. kysniba.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * math.random(-45,-40)
  737. if dedsound then
  738. dedsound:Play()
  739. dedsound.Volume = 8
  740. end
  741. humanoid.Parent.Head.Transparency = 1
  742. humanoid.Parent:BreakJoints()
  743. humanoid.Parent.Head.face.Texture = "rbxassetid://476060645"
  744. humanoid.Health = humanoid.Health - math.random(60,70)
  745. humanoid.PlatformStand = true
  746. wait()
  747. kysniba:destroy()
  748. local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone()
  749. local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
  750. local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone()
  751. local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone()
  752. local leftarm = humanoid.Parent["Left Arm"]
  753. local rightrm = humanoid.Parent["Right Arm"]
  754. local leftleg = humanoid.Parent["Left Leg"]
  755. local rightleg = humanoid.Parent["Right Leg"]
  756. humanoid.Parent.Torso["Left Hip"]:destroy()
  757. local head = humanoid.Parent.Head
  758. glue = Instance.new("Glue", humanoid.Parent.Torso)
  759. glue.Part0 = humanoid.Parent.Torso
  760. glue.Part1 = leftleg
  761. glue.Name = "Left leg"
  762. collider = Instance.new("Part", leftleg)
  763. collider.Position = Vector3.new(0,999,0)
  764. collider.Size = Vector3.new(1.5, 1, 1)
  765. collider.Shape = "Cylinder"
  766. local weld = Instance.new("Weld", collider)
  767. weld.Part0 = leftleg
  768. weld.Part1 = collider
  769. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  770. collider.TopSurface = "Smooth"
  771. collider.BottomSurface = "Smooth"
  772. collider.formFactor = "Symmetric"
  773. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  774. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  775. collider.Transparency = 1
  776. ------------
  777. humanoid.Parent.Torso["Right Hip"]:destroy()
  778. glue1 = Instance.new("Glue", humanoid.Parent.Torso)
  779. glue1.Part0 = humanoid.Parent.Torso
  780. glue1.Part1 = rightleg
  781. glue1.Name = "Right leg"
  782. collider1 = Instance.new("Part", rightleg)
  783. collider1.Position = Vector3.new(0,9999,0)
  784. collider1.Size = Vector3.new(1.5, 1, 1)
  785. collider1.Shape = "Cylinder"
  786. local weld1 = Instance.new("Weld", collider1)
  787. weld1.Part0 = rightleg
  788. weld1.Part1 = collider1
  789. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  790. collider1.TopSurface = "Smooth"
  791. collider1.BottomSurface = "Smooth"
  792. collider1.formFactor = "Symmetric"
  793. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  794. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  795. collider1.Transparency = 1
  796. ------------
  797. humanoid.Parent.Torso["Right Shoulder"]:destroy()
  798. glue11 = Instance.new("Glue", humanoid.Parent.Torso)
  799. glue11.Part0 = humanoid.Parent.Torso
  800. glue11.Part1 = rightrm
  801. glue11.Name = "Right shoulder"
  802. collider11 = Instance.new("Part", rightrm)
  803. collider11.Position = Vector3.new(0,9999,0)
  804. collider11.Size = Vector3.new(1.8,1,1)
  805. collider11.Shape = "Cylinder"
  806. local weld11 = Instance.new("Weld", collider11)
  807. weld11.Part0 = rightrm
  808. weld11.Part1 = collider11
  809. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  810. collider11.TopSurface = "Smooth"
  811. collider11.BottomSurface = "Smooth"
  812. collider11.formFactor = "Symmetric"
  813. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  814. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  815. collider11.Transparency = 1
  816. ------------
  817. humanoid.Parent.Torso["Left Shoulder"]:destroy()
  818. glue111 = Instance.new("Glue", humanoid.Parent.Torso)
  819. glue111.Part0 = humanoid.Parent.Torso
  820. glue111.Part1 = leftarm
  821. glue111.Name = "Left shoulder"
  822. collider111 = Instance.new("Part", leftarm)
  823. collider111.Position = Vector3.new(0,9999,0)
  824. collider111.Size = Vector3.new(1.5, 1, 1)
  825. collider111.Shape = "Cylinder"
  826. local weld111 = Instance.new("Weld", collider111)
  827. weld111.Part0 = leftarm
  828. weld111.Part1 = collider111
  829. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  830. collider111.TopSurface = "Smooth"
  831. collider111.BottomSurface = "Smooth"
  832. collider111.formFactor = "Symmetric"
  833. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  834. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  835. collider111.Transparency = 1
  836. -----------------
  837. wait(20.5)
  838. lshclone.Parent = humanoid.Parent.Torso
  839. glue:destroy()
  840. rshclone.Parent = humanoid.Parent.Torso
  841. glue1:destroy()
  842. lhclone.Parent = humanoid.Parent.Torso
  843. glue11:destroy()
  844. rhclone.Parent = humanoid.Parent.Torso
  845. glue111:destroy()
  846. collider:destroy()
  847. collider1:destroy()
  848. collider11:destroy()
  849. collider111:destroy()
  850. humanoid.PlatformStand = false
  851. end
  852. end
  853. se.Touched:connect(setouch)
  854. for i = 0,1 , 0.06 do
  855. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00290107727, -3.14712524e-05, 0.00735473633, 0.339134485, -0.00288238749, 0.940737188, 0.00789805129, 0.999969661, 0.00021667406, -0.940710008, 0.0073564481, 0.339143455),i)
  856. weld.C0 = weld.C0:lerp(CFrame.new(0.363064766, -3.34135723, -0.00578689575, 0.129290998, 0.977891922, 0.164350972, 0.115099035, 0.149822131, -0.981990576, -0.98490411, 0.145879179, -0.0931837559),i)
  857. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  858. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.463953018, 0.485588312, -1.28636932, 0.788734317, -0.595068872, -0.154285714, -0.154632434, 0.0508582667, -0.986663163, 0.594980121, 0.802068651, -0.0519035384),i)
  859. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  860. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.980017662, 0.469520569, -1.02002907, -0.115247473, 0.527205765, 0.841893554, 0.993219674, 0.0480508804, 0.105872333, 0.0153623596, 0.848385453, -0.529164553),i)
  861. game:GetService("RunService").RenderStepped:wait()
  862. end
  863. for i = 0,0.6 , 0.06 do
  864. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.0037689209, -3.1709671e-05, -0.00695133209, 0.502638817, -0.0037825685, -0.864492178, 0.00789782684, 0.999969304, 0.000216558576, 0.864467442, -0.00693635643, 0.502654672),i)
  865. weld.C0 = weld.C0:lerp(CFrame.new(0.363064766, -3.34135723, -0.00578689575, 0.129290998, 0.977891922, 0.164350972, 0.115099035, 0.149822131, -0.981990576, -0.98490411, 0.145879179, -0.0931837559),i)
  866. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  867. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.463953018, 0.485588312, -1.28636932, 0.788734317, -0.595068872, -0.154285714, -0.154632434, 0.0508582667, -0.986663163, 0.594980121, 0.802068651, -0.0519035384),i)
  868. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  869. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.980017662, 0.469520569, -1.02002907, -0.115247473, 0.527205765, 0.841893554, 0.993219674, 0.0480508804, 0.105872333, 0.0153623596, 0.848385453, -0.529164553),i)
  870. game:GetService("RunService").RenderStepped:wait()
  871. end
  872. se:destroy()
  873. swinging = false
  874. canwalk = true
  875. end
  876. end
  877. end
  878. function finish(key)
  879. key = key:lower()
  880. if key == "r" then
  881. if not swinging then
  882. swinging = true
  883. canwalk = false
  884. die:Play()
  885. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  886. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  887. wait(0.3)
  888. for i = 0,0.5 , 0.04 do
  889. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00790500641, -0.95325017, 0.00522613525, 0.999153674, -0.0285614356, 0.0298122466, 0.0324949361, 0.989460409, -0.141119018, -0.0254644509, 0.141966894, 0.989548504),i)
  890. weld.C0 = weld.C0:lerp(CFrame.new(1.68849564, -0.692239761, -0.428113937, -0.12418396, -0.0975907221, 0.987448454, -0.184139758, 0.980132401, 0.0737097934, -0.975023568, -0.172674939, -0.139687046),i)
  891. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-1.00843811, -1.19844329, 0.914150238, 0.999923646, -0.000131767243, 0.0128494678, -0.0128492834, 0.000317718834, 0.999918461, -0.000132776797, -1.00000465, 0.000315986574),i)
  892. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.115190506, 0.512830734, -0.79851532, 0.673410773, -0.722994387, -0.154290587, -0.143455178, 0.0769419968, -0.986662924, 0.725221038, 0.686558425, -0.0519037582),i)
  893. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.504602432, -1.41426539, -0.43113327, 0.998532414, 0.0129502807, -0.0527050048, 0.0148650706, 0.868719757, 0.495082885, 0.0522002652, -0.495138437, 0.867249846),i)
  894. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.3915844, 1.38915205, 0.475536346, 0.0243803822, 0.00994206313, 0.999659538, -0.446981192, -0.894325435, 0.0197958294, 0.894215584, -0.447310358, -0.0173569731),i)
  895. game:GetService("RunService").RenderStepped:wait()
  896. end
  897. for i = 1,10 do
  898. for i = 0,0.8 , 0.1 do
  899. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00790500641, -0.95325017, 0.00522613525, 0.999153674, -0.0285614356, 0.0298122466, 0.0324949361, 0.989460409, -0.141119018, -0.0254644509, 0.141966894, 0.989548504),i)
  900. weld.C0 = weld.C0:lerp(CFrame.new(1.68849564, -0.692239761, -0.428113937, -0.12418396, -0.0975907221, 0.987448454, -0.184139758, 0.980132401, 0.0737097934, -0.975023568, -0.172674939, -0.139687046),i)
  901. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-1.00843811, -1.19844329, 0.914150238, 0.999923646, -0.000131767243, 0.0128494678, -0.0128492834, 0.000317718834, 0.999918461, -0.000132776797, -1.00000465, 0.000315986574),i)
  902. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.115190506, 0.512830734, -0.79851532, 0.673410773, -0.722994387, -0.154290587, -0.143455178, 0.0769419968, -0.986662924, 0.725221038, 0.686558425, -0.0519037582),i)
  903. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.504602432, -1.41426539, -0.43113327, 0.998532414, 0.0129502807, -0.0527050048, 0.0148650706, 0.868719757, 0.495082885, 0.0522002652, -0.495138437, 0.867249846),i)
  904. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.3915844, 1.38915205, 0.475536346, 0.0243803822, 0.00994206313, 0.999659538, -0.446981192, -0.894325435, 0.0197958294, 0.894215584, -0.447310358, -0.0173569731),i)
  905. game:GetService("RunService").RenderStepped:wait()
  906. end
  907. swoosh:Play()
  908. local se = Instance.new("Part", bat)
  909. se.Size = Vector3.new(1.5, 1, 3)
  910. se:BreakJoints()
  911. se.Transparency = 1
  912. se.CanCollide = false
  913. local dmgweld = Instance.new("Weld", se)
  914. dmgweld.Part0 = bat
  915. dmgweld.Part1 = se
  916. dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
  917. local function setouch(part)
  918. local humanoid = part.Parent:findFirstChild("Humanoid")
  919. if humanoid and candamage then
  920. kaykaykay = true
  921. hitsound:Play()
  922. hitsoundmarker:Play()
  923. local dedsound = humanoid.Parent.Head:findFirstChild("Died")
  924. local kysniba = Instance.new("BodyVelocity", humanoid.Parent.Torso)
  925. kysniba.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  926. kysniba.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 0
  927. if dedsound then
  928. dedsound:Play()
  929. dedsound.Volume = 8
  930. end
  931. humanoid.Parent.Head.face.Texture = "rbxassetid://476060645"
  932. humanoid.Health = humanoid.Health - math.random(2,3)
  933. humanoid.PlatformStand = true
  934. wait()
  935. kysniba:destroy()
  936. local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone()
  937. local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
  938. local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone()
  939. local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone()
  940. local leftarm = humanoid.Parent["Left Arm"]
  941. local rightrm = humanoid.Parent["Right Arm"]
  942. local leftleg = humanoid.Parent["Left Leg"]
  943. local rightleg = humanoid.Parent["Right Leg"]
  944. humanoid.Parent.Torso["Left Hip"]:destroy()
  945. local head = humanoid.Parent.Head
  946. glue = Instance.new("Glue", humanoid.Parent.Torso)
  947. glue.Part0 = humanoid.Parent.Torso
  948. glue.Part1 = leftleg
  949. glue.Name = "Left leg"
  950. collider = Instance.new("Part", leftleg)
  951. collider.Position = Vector3.new(0,999,0)
  952. collider.Size = Vector3.new(1.5, 1, 1)
  953. collider.Shape = "Cylinder"
  954. local weld = Instance.new("Weld", collider)
  955. weld.Part0 = leftleg
  956. weld.Part1 = collider
  957. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  958. collider.TopSurface = "Smooth"
  959. collider.BottomSurface = "Smooth"
  960. collider.formFactor = "Symmetric"
  961. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  962. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  963. collider.Transparency = 1
  964. ------------
  965. humanoid.Parent.Torso["Right Hip"]:destroy()
  966. glue1 = Instance.new("Glue", humanoid.Parent.Torso)
  967. glue1.Part0 = humanoid.Parent.Torso
  968. glue1.Part1 = rightleg
  969. glue1.Name = "Right leg"
  970. collider1 = Instance.new("Part", rightleg)
  971. collider1.Position = Vector3.new(0,9999,0)
  972. collider1.Size = Vector3.new(1.5, 1, 1)
  973. collider1.Shape = "Cylinder"
  974. local weld1 = Instance.new("Weld", collider1)
  975. weld1.Part0 = rightleg
  976. weld1.Part1 = collider1
  977. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  978. collider1.TopSurface = "Smooth"
  979. collider1.BottomSurface = "Smooth"
  980. collider1.formFactor = "Symmetric"
  981. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  982. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  983. collider1.Transparency = 1
  984. ------------
  985. humanoid.Parent.Torso["Right Shoulder"]:destroy()
  986. glue11 = Instance.new("Glue", humanoid.Parent.Torso)
  987. glue11.Part0 = humanoid.Parent.Torso
  988. glue11.Part1 = rightrm
  989. glue11.Name = "Right shoulder"
  990. collider11 = Instance.new("Part", rightrm)
  991. collider11.Position = Vector3.new(0,9999,0)
  992. collider11.Size = Vector3.new(1.8,1,1)
  993. collider11.Shape = "Cylinder"
  994. local weld11 = Instance.new("Weld", collider11)
  995. weld11.Part0 = rightrm
  996. weld11.Part1 = collider11
  997. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  998. collider11.TopSurface = "Smooth"
  999. collider11.BottomSurface = "Smooth"
  1000. collider11.formFactor = "Symmetric"
  1001. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1002. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1003. collider11.Transparency = 1
  1004. ------------
  1005. humanoid.Parent.Torso["Left Shoulder"]:destroy()
  1006. glue111 = Instance.new("Glue", humanoid.Parent.Torso)
  1007. glue111.Part0 = humanoid.Parent.Torso
  1008. glue111.Part1 = leftarm
  1009. glue111.Name = "Left shoulder"
  1010. collider111 = Instance.new("Part", leftarm)
  1011. collider111.Position = Vector3.new(0,9999,0)
  1012. collider111.Size = Vector3.new(1.5, 1, 1)
  1013. collider111.Shape = "Cylinder"
  1014. local weld111 = Instance.new("Weld", collider111)
  1015. weld111.Part0 = leftarm
  1016. weld111.Part1 = collider111
  1017. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  1018. collider111.TopSurface = "Smooth"
  1019. collider111.BottomSurface = "Smooth"
  1020. collider111.formFactor = "Symmetric"
  1021. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1022. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1023. collider111.Transparency = 1
  1024. -----------------
  1025. wait(10.5)
  1026. lshclone.Parent = humanoid.Parent.Torso
  1027. glue:destroy()
  1028. rshclone.Parent = humanoid.Parent.Torso
  1029. glue1:destroy()
  1030. lhclone.Parent = humanoid.Parent.Torso
  1031. glue11:destroy()
  1032. rhclone.Parent = humanoid.Parent.Torso
  1033. glue111:destroy()
  1034. collider:destroy()
  1035. collider1:destroy()
  1036. collider11:destroy()
  1037. collider111:destroy()
  1038. humanoid.PlatformStand = false
  1039.  
  1040. end
  1041. end
  1042. se.Touched:connect(setouch)
  1043. for i = 0,0.8 , 0.1 do
  1044. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00790500641, -1.10856056, -0.113021851, 0.999153674, -0.0285614356, 0.0298122466, 0.015409233, 0.927881479, 0.372561187, -0.0383003242, -0.371782839, 0.927533865),i)
  1045. weld.C0 = weld.C0:lerp(CFrame.new(1.75426292, -1.81475067, -0.224495888, -0.124183893, 0.409208655, 0.903953254, -0.184139788, 0.885677457, -0.426232308, -0.975023508, -0.219385028, -0.0346353203),i)
  1046. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.531410217, -1.51909602, 0.309326172, 0.999858439, 0.0112568531, -0.0129960477, 0.0027226212, 0.642678738, 0.766132534, 0.0169795267, -0.766057372, 0.642555475),i)
  1047. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.53067207, 0.149219036, 0.221874237, 0.986711502, 0.108026817, 0.121435449, -0.151131794, 0.884698153, 0.440993249, -0.0597912408, -0.453483284, 0.88926661),i)
  1048. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.533989906, -0.802585959, -0.829696655, 0.997155249, -0.00385875348, -0.0753595084, -0.00967934448, 0.983901083, -0.178458288, 0.074837774, 0.178679526, 0.981062055),i)
  1049. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.38949299, 0.092348814, -0.696056366, 0.104881018, 0.0200879835, 0.994288206, 0.721826732, 0.686205924, -0.0900060534, -0.684091628, 0.727142394, 0.0574717149),i)
  1050. game:GetService("RunService").RenderStepped:wait()
  1051. end
  1052. se:destroy()
  1053. end
  1054. wait(2)
  1055. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
  1056. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  1057. swinging = false
  1058. canwalk = true
  1059. end
  1060. end
  1061. end
  1062. mouse.KeyDown:connect(finish)
  1063. mouse.KeyDown:connect(homerun)
  1064. mouse.KeyDown:connect(homerunheavy)
  1065. mouse.KeyDown:connect(homerunfreeze)
  1066. mouse.Button1Down:connect(swing)
  1067. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
  1068. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  1069. local run = game.Players.LocalPlayer.Character.Head:findFirstChild("Running")
  1070. if run then
  1071. playback = run.PlaybackSpeed
  1072. run.Volume = 10
  1073. run.PlaybackSpeed = 2
  1074. end
  1075. howmuch = 0
  1076. function change(key)
  1077. if key == "w" or key == "a" or key == "s" or key == "d" then
  1078. howmuch = howmuch + 1
  1079. end
  1080. end
  1081. function otherchange(key)
  1082. if key == "w" or key == "a" or key == "s" or key == "d" then
  1083. howmuch = howmuch - 1
  1084. end
  1085. end
  1086. mouse.KeyDown:connect(change)
  1087. mouse.KeyUp:connect(otherchange)
  1088. while true do
  1089. if howmuch <= -1 then
  1090. howmuch = 0
  1091. end
  1092. if howmuch >= 4 then
  1093. howmuch = 0
  1094. end
  1095. if canwalk and howmuch < 1 then
  1096. for i = 0,0.5 , 0.03 do
  1097. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  1098. weld.C0 = weld.C0:lerp(CFrame.new(-0.0159739517, -0.949999988, -1.89993286, -0.999964654, 0, -0.00840734318, 0, 1, 0, 0.00840734318, 0, -0.999964654),i)
  1099. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.740257263, -2.03609467, -0.136482239, 0.983402133, 0.178129673, -0.0344976112, -0.181415305, 0.96843487, -0.1709456, 0.00295820553, 0.174366668, 0.984676421),i)
  1100. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5622654, 0.129275084, -0.0601882935, 0.980589986, 0.172955066, -0.0923573449, -0.159350663, 0.977449715, 0.138561979, 0.114239655, -0.121155277, 0.98603791),i)
  1101. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500007629, -2.00265956, 0.172412872, 1, -1.20094264e-05, 1.7030412e-05, 8.86936687e-06, 0.984804928, 0.173664317, -1.88572412e-05, -0.173664317, 0.984804928),i)
  1102. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.53644848, 0.148818254, -0.0714874268, 0.992697001, -0.115257569, 0.0356137939, 0.115724243, 0.993216813, -0.01132611, -0.0340668, 0.0153647754, 0.999301434),i)
  1103. game:GetService("RunService").RenderStepped:wait()
  1104. end
  1105. end
  1106. if canwalk and howmuch >= 1 then
  1107. if canwalk then
  1108. for i = 0,0.5 , 0.035 do
  1109. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.00790023804, 0.199968576, -0.00020980835, 0.999964595, -0.00790178124, 0.00306172855, 0.00790151209, 0.999969304, 0.000218808651, -0.0030639898, -0.000195354223, 0.999996841),i)
  1110. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.505001068, -1.86916244, -0.621334076, 0.999965012, 0.00531583838, -0.00659736991, -0.00790282805, 0.865899682, -0.500156105, 0.00305361301, 0.500189841, 0.865911663),i)
  1111. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.60521126, 0.0956981182, 0.261711121, 0.980589807, 0.186369807, -0.0609254427, -0.159354717, 0.938544989, 0.306180835, 0.114243567, -0.290528506, 0.95002687),i)
  1112. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.500003815, -1.98082137, 0.341064453, 1.00000024, -4.760921e-06, 6.13927841e-06, 2.53296457e-06, 0.939691961, 0.342023224, -7.70017505e-06, -0.342023879, 0.939692199),i)
  1113. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.54322338, 0.0253696442, -0.292896271, 0.992699027, -0.0961229801, 0.0728714988, 0.115717016, 0.929440677, -0.35035944, -0.0340529159, 0.35623306, 0.933778286),i)
  1114. game:GetService("RunService").RenderStepped:wait()
  1115. end
  1116. end
  1117. if canwalk then
  1118. for i = 0,0.5 , 0.035 do
  1119. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  1120. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.508262634, -1.87163961, 0.440429688, 0.999970257, 0.00836944394, 0.00130646117, -0.00790115632, 0.866101623, 0.499812841, 0.00304995291, -0.499809325, 0.866141915),i)
  1121. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5253067, 0.0738544464, -0.454620361, 0.980590165, 0.0731252506, -0.181929275, -0.159353688, 0.83783412, -0.522152305, 0.114242911, 0.54100734, 0.833227038),i)
  1122. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.499994278, -1.92724752, -0.551742554, 1.00000608, 1.25449151e-06, 1.01868063e-05, 4.95591667e-06, 0.866037965, -0.499993861, -1.09765679e-05, 0.499994934, 0.866033196),i)
  1123. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.55067635, 0.144279242, 0.328227997, 0.992699504, -0.117612652, -0.026791174, 0.115719222, 0.865823865, 0.486786127, -0.0340576619, -0.486334682, 0.873112977),i)
  1124. game:GetService("RunService").RenderStepped:wait()
  1125. end
  1126. end
  1127. end
  1128. wait()
  1129. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement