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