Advertisement
GodOfDuckz

Bat script

Mar 23rd, 2018
1,326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.05 KB | None | 0 0
  1. --By Rufus14 and Edit by boss_kiddos
  2. --DISCORD; God of duckz!#9124
  3.  
  4. warn'edit by boss_kiddos abye'
  5. mouse = game.Players.LocalPlayer:GetMouse()
  6. songplaying = false
  7. song1 = Instance.new("Sound", game.Players.LocalPlayer.Character)
  8. song1.SoundId = "rbxassetid://0"
  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://0"
  29. swoosh.Volume = 5
  30. hitsound = Instance.new("Sound", bat)
  31. hitsound.SoundId = "rbxassetid://130944130"
  32. hitsound.Volume = 5
  33. hitsoundmarker = Instance.new("Sound", bat)
  34. hitsoundmarker.SoundId = "rbxassetid://131864673"
  35. hitsoundmarker.Volume = 555555
  36. weld = Instance.new("Weld", bat)
  37. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  38. weld.Part1 = bat
  39. weld.C0 = weld.C0 * CFrame.Angles(0,3.15,0) * CFrame.new(0,-0.95,1.9)
  40. print(weld.C0)
  41. mesh = Instance.new("SpecialMesh", bat)
  42. mesh.MeshId = "http://www.roblox.com/asset/?id=54983181"
  43. mesh.TextureId = "http://www.roblox.com/asset/?id=54983107"
  44. mesh.Scale = Vector3.new(2.3,2.3,1.8)
  45. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  46. game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Remove()
  47. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  48. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  49. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  50. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  51. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  52. game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Remove()
  53. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  54. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  55. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  56. lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  57. local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  58. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
  59. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  60. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  61. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  62. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  63. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  64. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  65. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  66. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  67. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  68. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  69. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  70. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  71. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  72. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  73. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  74. for i = 0,0.5 , 0.05 do
  75. 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)
  76. 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)
  77. 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)
  78. 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)
  79. 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)
  80. game:GetService("RunService").RenderStepped:wait()
  81. end
  82. canwalk = true
  83. swinging = false
  84. candamage = true
  85. function swing()
  86. if not swinging then
  87. swinging = true
  88. canwalk = false
  89. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 5
  90. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 25
  91. for i = 0,1 , 0.05 do
  92. 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)
  93. 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)
  94. 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)
  95. 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)
  96. 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)
  97. game:GetService("RunService").RenderStepped:wait()
  98. end
  99. swoosh:Play()
  100. local se = Instance.new("Part", bat)
  101. se.Size = Vector3.new(1.5, 1, 3)
  102. se:BreakJoints()
  103. se.Transparency = 1
  104. se.CanCollide = false
  105. local dmgweld = Instance.new("Weld", se)
  106. dmgweld.Part0 = bat
  107. dmgweld.Part1 = se
  108. dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
  109. local function setouch(part)
  110. local humanoid = part.Parent:findFirstChild("Humanoid")
  111. if humanoid and candamage then
  112. se:destroy()
  113. hitsound:Play()
  114. hitsoundmarker:Play()
  115. local dedsound = humanoid.Parent.Head:findFirstChild("Died")
  116. local kysniba = Instance.new("BodyVelocity", humanoid.Parent.Torso)
  117. kysniba.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  118. kysniba.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * math.random(5,35)
  119. if dedsound then
  120. dedsound:Play()
  121. dedsound.Volume = 8
  122. end
  123. humanoid.Health = humanoid.Health - math.random(35,50)
  124. humanoid.PlatformStand = true
  125. wait()
  126. kysniba:destroy()
  127. local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone()
  128. local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
  129. local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone()
  130. local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone()
  131. local leftarm = humanoid.Parent["Left Arm"]
  132. local rightrm = humanoid.Parent["Right Arm"]
  133. local leftleg = humanoid.Parent["Left Leg"]
  134. local rightleg = humanoid.Parent["Right Leg"]
  135. humanoid.Parent.Torso["Left Hip"]:destroy()
  136. local head = humanoid.Parent.Head
  137. glue = Instance.new("Glue", humanoid.Parent.Torso)
  138. glue.Part0 = humanoid.Parent.Torso
  139. glue.Part1 = leftleg
  140. glue.Name = "Left leg"
  141. collider = Instance.new("Part", leftleg)
  142. collider.Position = Vector3.new(0,999,0)
  143. collider.Size = Vector3.new(1.5, 1, 1)
  144. collider.Shape = "Cylinder"
  145. local weld = Instance.new("Weld", collider)
  146. weld.Part0 = leftleg
  147. weld.Part1 = collider
  148. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  149. collider.TopSurface = "Smooth"
  150. collider.BottomSurface = "Smooth"
  151. collider.formFactor = "Symmetric"
  152. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  153. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  154. collider.Transparency = 1
  155. ------------
  156. humanoid.Parent.Torso["Right Hip"]:destroy()
  157. glue1 = Instance.new("Glue", humanoid.Parent.Torso)
  158. glue1.Part0 = humanoid.Parent.Torso
  159. glue1.Part1 = rightleg
  160. glue1.Name = "Right leg"
  161. collider1 = Instance.new("Part", rightleg)
  162. collider1.Position = Vector3.new(0,9999,0)
  163. collider1.Size = Vector3.new(1.5, 1, 1)
  164. collider1.Shape = "Cylinder"
  165. local weld1 = Instance.new("Weld", collider1)
  166. weld1.Part0 = rightleg
  167. weld1.Part1 = collider1
  168. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  169. collider1.TopSurface = "Smooth"
  170. collider1.BottomSurface = "Smooth"
  171. collider1.formFactor = "Symmetric"
  172. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  173. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  174. collider1.Transparency = 1
  175. ------------
  176. humanoid.Parent.Torso["Right Shoulder"]:destroy()
  177. glue11 = Instance.new("Glue", humanoid.Parent.Torso)
  178. glue11.Part0 = humanoid.Parent.Torso
  179. glue11.Part1 = rightrm
  180. glue11.Name = "Right shoulder"
  181. collider11 = Instance.new("Part", rightrm)
  182. collider11.Position = Vector3.new(0,9999,0)
  183. collider11.Size = Vector3.new(1.8,1,1)
  184. collider11.Shape = "Cylinder"
  185. local weld11 = Instance.new("Weld", collider11)
  186. weld11.Part0 = rightrm
  187. weld11.Part1 = collider11
  188. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  189. collider11.TopSurface = "Smooth"
  190. collider11.BottomSurface = "Smooth"
  191. collider11.formFactor = "Symmetric"
  192. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  193. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  194. collider11.Transparency = 1
  195. ------------
  196. humanoid.Parent.Torso["Left Shoulder"]:destroy()
  197. glue111 = Instance.new("Glue", humanoid.Parent.Torso)
  198. glue111.Part0 = humanoid.Parent.Torso
  199. glue111.Part1 = leftarm
  200. glue111.Name = "Left shoulder"
  201. collider111 = Instance.new("Part", leftarm)
  202. collider111.Position = Vector3.new(0,9999,0)
  203. collider111.Size = Vector3.new(1.5, 1, 1)
  204. collider111.Shape = "Cylinder"
  205. local weld111 = Instance.new("Weld", collider111)
  206. weld111.Part0 = leftarm
  207. weld111.Part1 = collider111
  208. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  209. collider111.TopSurface = "Smooth"
  210. collider111.BottomSurface = "Smooth"
  211. collider111.formFactor = "Symmetric"
  212. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  213. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  214. collider111.Transparency = 1
  215. -----------------
  216. wait(3.5)
  217. lshclone.Parent = humanoid.Parent.Torso
  218. glue:destroy()
  219. rshclone.Parent = humanoid.Parent.Torso
  220. glue1:destroy()
  221. lhclone.Parent = humanoid.Parent.Torso
  222. glue11:destroy()
  223. rhclone.Parent = humanoid.Parent.Torso
  224. glue111:destroy()
  225. collider:destroy()
  226. collider1:destroy()
  227. collider11:destroy()
  228. collider111:destroy()
  229. humanoid.PlatformStand = false
  230. end
  231. end
  232. se.Touched:connect(setouch)
  233. for i = 0,1 , 0.11 do
  234. 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)
  235. 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)
  236. 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)
  237. 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)
  238. 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)
  239. 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)
  240. game:GetService("RunService").RenderStepped:wait()
  241. end
  242. for i = 0,0.5 , 0.03 do
  243. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  244. 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)
  245. 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)
  246. 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)
  247. 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)
  248. 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)
  249. game:GetService("RunService").RenderStepped:wait()
  250. end
  251. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 15
  252. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  253. se:destroy()
  254. canwalk = true
  255. swinging = false
  256. end
  257. end
  258. function homerun(key)
  259. key = key:lower()
  260. if key == "e" then
  261. if not swinging then
  262. swinging = true
  263. canwalk = false
  264. wait(0.5)
  265. for i = 0,0.5 , 0.04 do
  266. 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)
  267. 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)
  268. 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)
  269. 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)
  270. 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)
  271. 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)
  272. game:GetService("RunService").RenderStepped:wait()
  273. end
  274. wait(0.5)
  275. swoosh:Play()
  276. local se = Instance.new("Part", bat)
  277. se.Size = Vector3.new(1.5, 1, 3)
  278. se:BreakJoints()
  279. se.Transparency = 1
  280. se.CanCollide = false
  281. local dmgweld = Instance.new("Weld", se)
  282. dmgweld.Part0 = bat
  283. dmgweld.Part1 = se
  284. dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
  285. local function setouch(part)
  286. local humanoid = part.Parent:findFirstChild("Humanoid")
  287. if humanoid and candamage then
  288. se:destroy()
  289. hitsound:Play()
  290. hitsoundmarker:Play()
  291. local dedsound = humanoid.Parent.Head:findFirstChild("Died")
  292. local kysniba = Instance.new("BodyVelocity", humanoid.Parent.Torso)
  293. kysniba.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  294. kysniba.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * math.random(-45,-40)
  295. if dedsound then
  296. dedsound:Play()
  297. dedsound.Volume = 8
  298. end
  299. humanoid.Health = humanoid.Health - math.random(35,50)
  300. humanoid.PlatformStand = true
  301. wait()
  302. kysniba:destroy()
  303. local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone()
  304. local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
  305. local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone()
  306. local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone()
  307. local leftarm = humanoid.Parent["Left Arm"]
  308. local rightrm = humanoid.Parent["Right Arm"]
  309. local leftleg = humanoid.Parent["Left Leg"]
  310. local rightleg = humanoid.Parent["Right Leg"]
  311. humanoid.Parent.Torso["Left Hip"]:destroy()
  312. local head = humanoid.Parent.Head
  313. glue = Instance.new("Glue", humanoid.Parent.Torso)
  314. glue.Part0 = humanoid.Parent.Torso
  315. glue.Part1 = leftleg
  316. glue.Name = "Left leg"
  317. collider = Instance.new("Part", leftleg)
  318. collider.Position = Vector3.new(0,999,0)
  319. collider.Size = Vector3.new(1.5, 1, 1)
  320. collider.Shape = "Cylinder"
  321. local weld = Instance.new("Weld", collider)
  322. weld.Part0 = leftleg
  323. weld.Part1 = collider
  324. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  325. collider.TopSurface = "Smooth"
  326. collider.BottomSurface = "Smooth"
  327. collider.formFactor = "Symmetric"
  328. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  329. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  330. collider.Transparency = 1
  331. ------------
  332. humanoid.Parent.Torso["Right Hip"]:destroy()
  333. glue1 = Instance.new("Glue", humanoid.Parent.Torso)
  334. glue1.Part0 = humanoid.Parent.Torso
  335. glue1.Part1 = rightleg
  336. glue1.Name = "Right leg"
  337. collider1 = Instance.new("Part", rightleg)
  338. collider1.Position = Vector3.new(0,9999,0)
  339. collider1.Size = Vector3.new(1.5, 1, 1)
  340. collider1.Shape = "Cylinder"
  341. local weld1 = Instance.new("Weld", collider1)
  342. weld1.Part0 = rightleg
  343. weld1.Part1 = collider1
  344. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  345. collider1.TopSurface = "Smooth"
  346. collider1.BottomSurface = "Smooth"
  347. collider1.formFactor = "Symmetric"
  348. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  349. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  350. collider1.Transparency = 1
  351. ------------
  352. humanoid.Parent.Torso["Right Shoulder"]:destroy()
  353. glue11 = Instance.new("Glue", humanoid.Parent.Torso)
  354. glue11.Part0 = humanoid.Parent.Torso
  355. glue11.Part1 = rightrm
  356. glue11.Name = "Right shoulder"
  357. collider11 = Instance.new("Part", rightrm)
  358. collider11.Position = Vector3.new(0,9999,0)
  359. collider11.Size = Vector3.new(1.8,1,1)
  360. collider11.Shape = "Cylinder"
  361. local weld11 = Instance.new("Weld", collider11)
  362. weld11.Part0 = rightrm
  363. weld11.Part1 = collider11
  364. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  365. collider11.TopSurface = "Smooth"
  366. collider11.BottomSurface = "Smooth"
  367. collider11.formFactor = "Symmetric"
  368. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  369. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  370. collider11.Transparency = 1
  371. ------------
  372. humanoid.Parent.Torso["Left Shoulder"]:destroy()
  373. glue111 = Instance.new("Glue", humanoid.Parent.Torso)
  374. glue111.Part0 = humanoid.Parent.Torso
  375. glue111.Part1 = leftarm
  376. glue111.Name = "Left shoulder"
  377. collider111 = Instance.new("Part", leftarm)
  378. collider111.Position = Vector3.new(0,9999,0)
  379. collider111.Size = Vector3.new(1.5, 1, 1)
  380. collider111.Shape = "Cylinder"
  381. local weld111 = Instance.new("Weld", collider111)
  382. weld111.Part0 = leftarm
  383. weld111.Part1 = collider111
  384. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  385. collider111.TopSurface = "Smooth"
  386. collider111.BottomSurface = "Smooth"
  387. collider111.formFactor = "Symmetric"
  388. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  389. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  390. collider111.Transparency = 1
  391. -----------------
  392. wait(3.5)
  393. lshclone.Parent = humanoid.Parent.Torso
  394. glue:destroy()
  395. rshclone.Parent = humanoid.Parent.Torso
  396. glue1:destroy()
  397. lhclone.Parent = humanoid.Parent.Torso
  398. glue11:destroy()
  399. rhclone.Parent = humanoid.Parent.Torso
  400. glue111:destroy()
  401. collider:destroy()
  402. collider1:destroy()
  403. collider11:destroy()
  404. collider111:destroy()
  405. humanoid.PlatformStand = false
  406. end
  407. end
  408. se.Touched:connect(setouch)
  409. for i = 0,1 , 0.06 do
  410. 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)
  411. 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)
  412. 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)
  413. 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)
  414. 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)
  415. 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)
  416. game:GetService("RunService").RenderStepped:wait()
  417. end
  418. for i = 0,0.6 , 0.06 do
  419. 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)
  420. 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)
  421. 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)
  422. 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)
  423. 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)
  424. 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)
  425. game:GetService("RunService").RenderStepped:wait()
  426. end
  427. se:destroy()
  428. swinging = false
  429. canwalk = true
  430. end
  431. end
  432. end
  433. function finish(key)
  434. key = key:lower()
  435. if key == "r" then
  436. if not swinging then
  437. swinging = true
  438. canwalk = false
  439. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  440. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  441. wait(0.3)
  442. for i = 0,0.5 , 0.04 do
  443. 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)
  444. 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)
  445. 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)
  446. 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)
  447. 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)
  448. 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)
  449. game:GetService("RunService").RenderStepped:wait()
  450. end
  451. for i = 1,10 do
  452. for i = 0,0.8 , 0.1 do
  453. 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)
  454. 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)
  455. 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)
  456. 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)
  457. 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)
  458. 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)
  459. game:GetService("RunService").RenderStepped:wait()
  460. end
  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. kaykaykay = true
  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 * 0
  481. if dedsound then
  482. dedsound:Play()
  483. dedsound.Volume = 8
  484. end
  485. humanoid.Health = humanoid.Health - math.random(5,5)
  486. humanoid.PlatformStand = true
  487. wait()
  488. kysniba:destroy()
  489. local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone()
  490. local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
  491. local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone()
  492. local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone()
  493. local leftarm = humanoid.Parent["Left Arm"]
  494. local rightrm = humanoid.Parent["Right Arm"]
  495. local leftleg = humanoid.Parent["Left Leg"]
  496. local rightleg = humanoid.Parent["Right Leg"]
  497. humanoid.Parent.Torso["Left Hip"]:destroy()
  498. local head = humanoid.Parent.Head
  499. glue = Instance.new("Glue", humanoid.Parent.Torso)
  500. glue.Part0 = humanoid.Parent.Torso
  501. glue.Part1 = leftleg
  502. glue.Name = "Left leg"
  503. collider = Instance.new("Part", leftleg)
  504. collider.Position = Vector3.new(0,999,0)
  505. collider.Size = Vector3.new(1.5, 1, 1)
  506. collider.Shape = "Cylinder"
  507. local weld = Instance.new("Weld", collider)
  508. weld.Part0 = leftleg
  509. weld.Part1 = collider
  510. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  511. collider.TopSurface = "Smooth"
  512. collider.BottomSurface = "Smooth"
  513. collider.formFactor = "Symmetric"
  514. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  515. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  516. collider.Transparency = 1
  517. ------------
  518. humanoid.Parent.Torso["Right Hip"]:destroy()
  519. glue1 = Instance.new("Glue", humanoid.Parent.Torso)
  520. glue1.Part0 = humanoid.Parent.Torso
  521. glue1.Part1 = rightleg
  522. glue1.Name = "Right leg"
  523. collider1 = Instance.new("Part", rightleg)
  524. collider1.Position = Vector3.new(0,9999,0)
  525. collider1.Size = Vector3.new(1.5, 1, 1)
  526. collider1.Shape = "Cylinder"
  527. local weld1 = Instance.new("Weld", collider1)
  528. weld1.Part0 = rightleg
  529. weld1.Part1 = collider1
  530. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  531. collider1.TopSurface = "Smooth"
  532. collider1.BottomSurface = "Smooth"
  533. collider1.formFactor = "Symmetric"
  534. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  535. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  536. collider1.Transparency = 1
  537. ------------
  538. humanoid.Parent.Torso["Right Shoulder"]:destroy()
  539. glue11 = Instance.new("Glue", humanoid.Parent.Torso)
  540. glue11.Part0 = humanoid.Parent.Torso
  541. glue11.Part1 = rightrm
  542. glue11.Name = "Right shoulder"
  543. collider11 = Instance.new("Part", rightrm)
  544. collider11.Position = Vector3.new(0,9999,0)
  545. collider11.Size = Vector3.new(1.8,1,1)
  546. collider11.Shape = "Cylinder"
  547. local weld11 = Instance.new("Weld", collider11)
  548. weld11.Part0 = rightrm
  549. weld11.Part1 = collider11
  550. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  551. collider11.TopSurface = "Smooth"
  552. collider11.BottomSurface = "Smooth"
  553. collider11.formFactor = "Symmetric"
  554. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  555. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  556. collider11.Transparency = 1
  557. ------------
  558. humanoid.Parent.Torso["Left Shoulder"]:destroy()
  559. glue111 = Instance.new("Glue", humanoid.Parent.Torso)
  560. glue111.Part0 = humanoid.Parent.Torso
  561. glue111.Part1 = leftarm
  562. glue111.Name = "Left shoulder"
  563. collider111 = Instance.new("Part", leftarm)
  564. collider111.Position = Vector3.new(0,9999,0)
  565. collider111.Size = Vector3.new(1.5, 1, 1)
  566. collider111.Shape = "Cylinder"
  567. local weld111 = Instance.new("Weld", collider111)
  568. weld111.Part0 = leftarm
  569. weld111.Part1 = collider111
  570. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  571. collider111.TopSurface = "Smooth"
  572. collider111.BottomSurface = "Smooth"
  573. collider111.formFactor = "Symmetric"
  574. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  575. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  576. collider111.Transparency = 1
  577. -----------------
  578. wait(3.5)
  579. lshclone.Parent = humanoid.Parent.Torso
  580. glue:destroy()
  581. rshclone.Parent = humanoid.Parent.Torso
  582. glue1:destroy()
  583. lhclone.Parent = humanoid.Parent.Torso
  584. glue11:destroy()
  585. rhclone.Parent = humanoid.Parent.Torso
  586. glue111:destroy()
  587. collider:destroy()
  588. collider1:destroy()
  589. collider11:destroy()
  590. collider111:destroy()
  591. humanoid.PlatformStand = false
  592.  
  593. end
  594. end
  595. se.Touched:connect(setouch)
  596. for i = 0,0.8 , 0.1 do
  597. 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)
  598. 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)
  599. 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)
  600. 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)
  601. 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)
  602. 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)
  603. game:GetService("RunService").RenderStepped:wait()
  604. end
  605. se:destroy()
  606. end
  607. wait(2)
  608. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 15
  609. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  610. swinging = false
  611. canwalk = true
  612. end
  613. end
  614. end
  615. mouse.KeyDown:connect(finish)
  616. mouse.KeyDown:connect(homerun)
  617. mouse.Button1Down:connect(swing)
  618. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  619. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  620. local run = game.Players.LocalPlayer.Character.Head:findFirstChild("Running")
  621. if run then
  622. playback = run.PlaybackSpeed
  623. run.Volume = 10
  624. run.PlaybackSpeed = 2
  625. end
  626. howmuch = 0
  627. function change(key)
  628. if key == "w" or key == "a" or key == "s" or key == "d" then
  629. howmuch = howmuch + 1
  630. end
  631. end
  632. function otherchange(key)
  633. if key == "w" or key == "a" or key == "s" or key == "d" then
  634. howmuch = howmuch - 1
  635. end
  636. end
  637. mouse.KeyDown:connect(change)
  638. mouse.KeyUp:connect(otherchange)
  639. while true do
  640. if howmuch <= -1 then
  641. howmuch = 0
  642. end
  643. if howmuch >= 4 then
  644. howmuch = 0
  645. end
  646. if canwalk and howmuch < 1 then
  647. for i = 0,0.5 , 0.03 do
  648. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  649. 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)
  650. 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)
  651. 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)
  652. 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)
  653. 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)
  654. game:GetService("RunService").RenderStepped:wait()
  655. end
  656. end
  657. if canwalk and howmuch >= 1 then
  658. if canwalk then
  659. for i = 0,0.5 , 0.035 do
  660. 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)
  661. 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)
  662. 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)
  663. 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)
  664. 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)
  665. game:GetService("RunService").RenderStepped:wait()
  666. end
  667. end
  668. if canwalk then
  669. for i = 0,0.5 , 0.035 do
  670. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  671. 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)
  672. 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)
  673. 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)
  674. 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)
  675. game:GetService("RunService").RenderStepped:wait()
  676. end
  677. end
  678. end
  679. wait()
  680. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement