SHOW:
|
|
- or go back to the newest paste.
| 1 | - | plr = game.Players.battleman22222 |
| 1 | + | plr = game.Players.XxXexe5 |
| 2 | repeat | |
| 3 | wait(0.4) | |
| 4 | until plr.Character | |
| 5 | chr = plr.Character | |
| 6 | human = chr:FindFirstChild("Humanoid")
| |
| 7 | mouse = plr:GetMouse() | |
| 8 | cam = workspace.CurrentCamera | |
| 9 | selected = false | |
| 10 | equipd = false | |
| 11 | tors = chr.Torso | |
| 12 | rarm = chr["Right Arm"] | |
| 13 | larm = chr["Left Arm"] | |
| 14 | rleg = chr["Right Leg"] | |
| 15 | lleg = chr["Left Leg"] | |
| 16 | hrp = chr.HumanoidRootPart | |
| 17 | hed = chr.Head | |
| 18 | anim = human.Animator | |
| 19 | activu = false | |
| 20 | ragged = false | |
| 21 | batting = false | |
| 22 | Heartbeat = Instance.new("BindableEvent")
| |
| 23 | Heartbeat.Name = "Heartbeat" | |
| 24 | Heartbeat.Parent = script | |
| 25 | Music = false | |
| 26 | Berserk = false | |
| 27 | Combo = 1 | |
| 28 | frame = 0.03333333333333333 | |
| 29 | tf = 0 | |
| 30 | Maedl = Instance.new("Model",chr)
| |
| 31 | local ColorsArray = {ColorSequenceKeypoint.new(0, Color3.new(255/255,255/255,255/255)),
| |
| 32 | ColorSequenceKeypoint.new(0.16, Color3.new(0/0,0/0,0/0)), | |
| 33 | ColorSequenceKeypoint.new(0.32, Color3.new(0/0,0/0,0/0)), | |
| 34 | ColorSequenceKeypoint.new(0.48, Color3.new(0/0,0/0,0/0)), | |
| 35 | ColorSequenceKeypoint.new(0.64, Color3.new(0/0,0/0,0/0)), | |
| 36 | ColorSequenceKeypoint.new(0.80, Color3.new(0/0,0/0,0/0)), | |
| 37 | ColorSequenceKeypoint.new(0.96, Color3.new(0/0,0/0,0/0)), | |
| 38 | ColorSequenceKeypoint.new(1, Color3.new(0/0,0/0,0/0))} | |
| 39 | local fire = Instance.new("ParticleEmitter", tors)
| |
| 40 | fire.Enabled = false | |
| 41 | fire.Lifetime = NumberRange.new(1.5) | |
| 42 | fire.RotSpeed = NumberRange.new(10) | |
| 43 | fire.Rate = 250 | |
| 44 | fire.VelocitySpread = 360 | |
| 45 | fire.Speed = NumberRange.new(2,8) | |
| 46 | fire.Rotation = NumberRange.new(151515) | |
| 47 | fire.Name = "Fire" | |
| 48 | fire.LightEmission = 0.78 | |
| 49 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
| 50 | fire.Color = ColorSequence.new(ColorsArray) | |
| 51 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6), NumberSequenceKeypoint.new(1, 0)})
| |
| 52 | fire.ZOffset = 3 | |
| 53 | ||
| 54 | function Lightningz(pos, pos2, radius, numParts, model, removalTime) | |
| 55 | radius = radius or 0.2 | |
| 56 | numParts = numParts or 10 | |
| 57 | model = model or game.Workspace | |
| 58 | local pos = pos | |
| 59 | local lastpos = lastpos | |
| 60 | local lv = CFrame.new(pos,pos2).lookVector | |
| 61 | removalTime = 0.001 | |
| 62 | local dist = (pos-pos2).magnitude | |
| 63 | local trans = 0 | |
| 64 | local color = BrickColor.new("White")
| |
| 65 | local dbp = dist/numParts | |
| 66 | local last = pos | |
| 67 | for i = 1,numParts do | |
| 68 | local p = Instance.new("Part")
| |
| 69 | p.FormFactor = "Custom" | |
| 70 | p.Size = Vector3.new(1,1,1) | |
| 71 | p.CanCollide = false | |
| 72 | p.Transparency = trans | |
| 73 | p.Anchored = true | |
| 74 | p.BrickColor = color | |
| 75 | p.Material = "Neon" | |
| 76 | local x = math.random(-100,100)/100*dbp*4 | |
| 77 | local y = math.random(-100,100)/100*dbp*4 | |
| 78 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
| 79 | local dist2 = (p2.p-last).magnitude | |
| 80 | local mid = (p2.p+last)/2 | |
| 81 | local m = Instance.new("BlockMesh",p)
| |
| 82 | m.Scale = Vector3.new(radius,radius,dist2 + (radius/4)) | |
| 83 | p.CFrame = CFrame.new(mid,p2.p) | |
| 84 | last = p2.p | |
| 85 | p.Parent = model | |
| 86 | game.Debris:AddItem(p, 0.05) | |
| 87 | end | |
| 88 | if model ~= game.Workspace then | |
| 89 | game.Debris:AddItem(model, 0) | |
| 90 | end | |
| 91 | end | |
| 92 | ||
| 93 | function Lightningz2(pos, pos2, radius, numParts, model, removalTime) | |
| 94 | radius = radius or 0.2 | |
| 95 | numParts = numParts or 10 | |
| 96 | model = model or game.Workspace | |
| 97 | local pos = pos | |
| 98 | local lastpos = lastpos | |
| 99 | local lv = CFrame.new(pos,pos2).lookVector | |
| 100 | removalTime = 0.001 | |
| 101 | local dist = (pos-pos2).magnitude | |
| 102 | local trans = 0 | |
| 103 | local color = BrickColor.new("White")
| |
| 104 | local dbp = dist/numParts | |
| 105 | local last = pos | |
| 106 | for i = 1,numParts do | |
| 107 | local p = Instance.new("Part")
| |
| 108 | p.FormFactor = "Custom" | |
| 109 | p.Size = Vector3.new(1,1,1) | |
| 110 | p.CanCollide = false | |
| 111 | p.Transparency = trans | |
| 112 | p.Anchored = true | |
| 113 | p.BrickColor = color | |
| 114 | p.Material = "Neon" | |
| 115 | local x = math.random(-100,100)/100*dbp/2 | |
| 116 | local y = math.random(-100,100)/100*dbp/2 | |
| 117 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
| 118 | local dist2 = (p2.p-last).magnitude | |
| 119 | local mid = (p2.p+last)/2 | |
| 120 | local m = Instance.new("BlockMesh",p)
| |
| 121 | m.Scale = Vector3.new(radius,radius,dist2 + (radius/4)) | |
| 122 | p.CFrame = CFrame.new(mid,p2.p) | |
| 123 | last = p2.p | |
| 124 | p.Parent = model | |
| 125 | game.Debris:AddItem(p, 0.05) | |
| 126 | end | |
| 127 | if model ~= game.Workspace then | |
| 128 | game.Debris:AddItem(model, 0) | |
| 129 | end | |
| 130 | end | |
| 131 | ||
| 132 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 133 | tf = tf + s | |
| 134 | if tf >= frame then | |
| 135 | for i = 1, math.floor(tf / frame) do | |
| 136 | Heartbeat:Fire() | |
| 137 | end | |
| 138 | tf = tf - frame * math.floor(tf / frame) | |
| 139 | end | |
| 140 | end) | |
| 141 | function swait(num) | |
| 142 | if num == 0 or num == nil then | |
| 143 | Heartbeat.Event:wait() | |
| 144 | else | |
| 145 | for i = 1, num do | |
| 146 | Heartbeat.Event:wait() | |
| 147 | end | |
| 148 | end | |
| 149 | end | |
| 150 | tool = Instance.new("Tool")
| |
| 151 | tool.CanBeDropped = false | |
| 152 | tool.RequiresHandle = false | |
| 153 | tool.TextureId = "rbxassetid://291302154" | |
| 154 | tool.ToolTip = "NANI" | |
| 155 | tool.Name = "AAAAAAAAAAAAAA" | |
| 156 | tool.Parent = plr.Backpack | |
| 157 | modz = Instance.new("Model")
| |
| 158 | modz.Name = "efx" | |
| 159 | modz.Parent = chr | |
| 160 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 161 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 162 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 163 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 164 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 165 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 166 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 167 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 168 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 169 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 170 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 171 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 172 | local nscale = Instance.new("NumberValue")
| |
| 173 | nscale.Value = 1 | |
| 174 | nscale.Parent = nil | |
| 175 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 176 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 177 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 178 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 179 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 180 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 181 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 182 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 183 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 184 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 185 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 186 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 187 | nscale.Changed:connect(function() | |
| 188 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 189 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 190 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 191 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 192 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 193 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 194 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 195 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 196 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 197 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 198 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 199 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 200 | end) | |
| 201 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 202 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 203 | RH = tors:FindFirstChild("Right Hip")
| |
| 204 | LH = tors:FindFirstChild("Left Hip")
| |
| 205 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 206 | N = tors:FindFirstChild("Neck")
| |
| 207 | cf = CFrame.new | |
| 208 | ang = CFrame.Angles | |
| 209 | rd = math.rad | |
| 210 | rd2 = math.random | |
| 211 | function nooutline(p) | |
| 212 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
| 213 | end | |
| 214 | function makepart(color, name, reflec, trans, mater, parnt, cfram) | |
| 215 | local port = Instance.new("Part")
| |
| 216 | port.BrickColor = BrickColor.new(color) | |
| 217 | port.Name = name | |
| 218 | port.Transparency = trans | |
| 219 | nooutline(port) | |
| 220 | port.Reflectance = reflec | |
| 221 | port.Material = mater | |
| 222 | port.Anchored = false | |
| 223 | port.CanCollide = false | |
| 224 | port.Locked = true | |
| 225 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 226 | port.Parent = parnt | |
| 227 | return port | |
| 228 | end | |
| 229 | function makemesh(meshtype, scale, meshid, parent) | |
| 230 | local mes = Instance.new("SpecialMesh")
| |
| 231 | mes.MeshType = meshtype | |
| 232 | mes.Scale = scale | |
| 233 | if meshtype == "FileMesh" then | |
| 234 | mes.MeshId = meshid | |
| 235 | end | |
| 236 | mes.Parent = parent | |
| 237 | return mes | |
| 238 | end | |
| 239 | function makeweld(parent, p0, p1, c0, c1) | |
| 240 | local wel = Instance.new("Weld")
| |
| 241 | wel.Part0 = p0 | |
| 242 | wel.Part1 = p1 | |
| 243 | wel.C0 = c0 | |
| 244 | if c1 ~= nil then | |
| 245 | wel.C1 = c1 | |
| 246 | end | |
| 247 | wel.Parent = parent | |
| 248 | return wel | |
| 249 | end | |
| 250 | local lauf1 = Instance.new("Sound")
| |
| 251 | lauf1.SoundId = "rbxassetid://137473066" | |
| 252 | lauf1.Volume = 1.5 | |
| 253 | lauf1.Pitch = 2 | |
| 254 | lauf1.Parent = hrp | |
| 255 | function lerpz(joint, prop, cfrmz, alp) | |
| 256 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
| 257 | end | |
| 258 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 259 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 260 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 261 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 262 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 263 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 264 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 265 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 266 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 267 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 268 | function resetlerp() | |
| 269 | RJ.C0 = RJC0 | |
| 270 | RJ.C1 = RJC1 | |
| 271 | N.C0 = NC0 | |
| 272 | N.C1 = NC1 | |
| 273 | RS.C0 = RSC0 | |
| 274 | RS.C1 = RSC1 | |
| 275 | LS.C0 = LSC0 | |
| 276 | LS.C1 = LSC1 | |
| 277 | RH.C0 = RHC0 | |
| 278 | RH.C1 = RHC1 | |
| 279 | LH.C0 = LHC0 | |
| 280 | LH.C1 = LHC1 | |
| 281 | end | |
| 282 | function ragplayer(cactus) | |
| 283 | cactus.Humanoid.PlatformStand = true | |
| 284 | if cactus["Right Arm"]~=nil and cactus.Torso:FindFirstChild("Right Shoulder") then
| |
| 285 | cactus.Torso:FindFirstChild("Right Shoulder"):Destroy()
| |
| 286 | makegloo(cactus.Torso, RightShoulderC0, RightShoulderC1, cactus.Torso, cactus["Right Arm"], "Right Shoulder") | |
| 287 | maketouchy(cactus["Right Arm"], cactus["Right Arm"], CFrame.new(0, 0.5, 0)) | |
| 288 | end | |
| 289 | if cactus["Left Arm"]~=nil and cactus.Torso:FindFirstChild("Left Shoulder") then
| |
| 290 | cactus.Torso:FindFirstChild("Left Shoulder"):Destroy()
| |
| 291 | makegloo(cactus.Torso, LeftShoulderC0, LeftShoulderC1, cactus.Torso, cactus["Left Arm"], "Left Shoulder") | |
| 292 | maketouchy(cactus["Left Arm"], cactus["Left Arm"], CFrame.new(0, 0.5, 0)) | |
| 293 | end | |
| 294 | if cactus["Right Leg"]~=nil and cactus.Torso:FindFirstChild("Right Hip") then
| |
| 295 | cactus.Torso:FindFirstChild("Right Hip"):Destroy()
| |
| 296 | makegloo(cactus.Torso, RightHipC0, RightHipC1, cactus.Torso, cactus["Right Leg"], "Right Hip") | |
| 297 | maketouchy(cactus["Right Leg"], cactus["Right Leg"], CFrame.new(0, 0.5, 0)) | |
| 298 | end | |
| 299 | if cactus["Left Leg"]~=nil and cactus.Torso:FindFirstChild("Left Hip") then
| |
| 300 | cactus.Torso:FindFirstChild("Left Hip"):Destroy()
| |
| 301 | makegloo(cactus.Torso, LeftHipC0, LeftHipC1, cactus.Torso, cactus["Left Leg"], "Left Hip") | |
| 302 | maketouchy(cactus["Left Leg"], cactus["Left Leg"], CFrame.new(0, 0.5, 0)) | |
| 303 | end | |
| 304 | end | |
| 305 | function test() | |
| 306 | if selected == false or activu == true then | |
| 307 | return | |
| 308 | end | |
| 309 | if ragged == false then | |
| 310 | ragged = true | |
| 311 | human.PlatformStand = true | |
| 312 | if rarm and tors:FindFirstChild("Right Shoulder") then
| |
| 313 | tors:FindFirstChild("Right Shoulder"):Destroy()
| |
| 314 | makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder") | |
| 315 | maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0)) | |
| 316 | end | |
| 317 | if larm and tors:FindFirstChild("Left Shoulder") then
| |
| 318 | tors:FindFirstChild("Left Shoulder"):Destroy()
| |
| 319 | makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder") | |
| 320 | maketouchy(larm, larm, CFrame.new(0, 0.5, 0)) | |
| 321 | end | |
| 322 | if rleg and tors:FindFirstChild("Right Hip") then
| |
| 323 | tors:FindFirstChild("Right Hip"):Destroy()
| |
| 324 | makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip") | |
| 325 | maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0)) | |
| 326 | end | |
| 327 | if lleg and tors:FindFirstChild("Left Hip") then
| |
| 328 | tors:FindFirstChild("Left Hip"):Destroy()
| |
| 329 | makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip") | |
| 330 | maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0)) | |
| 331 | end | |
| 332 | local BP = Instance.new("BodyPosition",tors)BP.Position = Vector3.new(0,1000,0) BP.P = 50 BP.maxForce = Vector3.new(0,math.huge,0)
| |
| 333 | local BG = Instance.new("BodyGyro",tors)BG.CFrame = CFrame.new(tors.Position, mouse.hit.p)BG.P = 10 BG.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
| |
| 334 | elseif ragged == true then | |
| 335 | ragged = false | |
| 336 | human.Jump = true | |
| 337 | if rarm and tors:FindFirstChild("Right Shoulder") then
| |
| 338 | tors:FindFirstChild("Right Shoulder"):Destroy()
| |
| 339 | makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder") | |
| 340 | rarm:FindFirstChild("touchy"):Destroy()
| |
| 341 | end | |
| 342 | if larm and tors:FindFirstChild("Left Shoulder") then
| |
| 343 | tors:FindFirstChild("Left Shoulder"):Destroy()
| |
| 344 | makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder") | |
| 345 | larm:FindFirstChild("touchy"):Destroy()
| |
| 346 | end | |
| 347 | if rleg and tors:FindFirstChild("Right Hip") then
| |
| 348 | tors:FindFirstChild("Right Hip"):Destroy()
| |
| 349 | makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip") | |
| 350 | rleg:FindFirstChild("touchy"):Destroy()
| |
| 351 | end | |
| 352 | if lleg and tors:FindFirstChild("Left Hip") then
| |
| 353 | tors:FindFirstChild("Left Hip"):Destroy()
| |
| 354 | makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip") | |
| 355 | lleg:FindFirstChild("touchy"):Destroy()
| |
| 356 | end | |
| 357 | if tors:findFirstChild("BodyPosition")~=nil then
| |
| 358 | tors.BodyPosition:remove() | |
| 359 | end | |
| 360 | if tors:findFirstChild("BodyGyro")~=nil then
| |
| 361 | tors.BodyGyro:remove() | |
| 362 | end | |
| 363 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 364 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 365 | RH = tors:FindFirstChild("Right Hip")
| |
| 366 | LH = tors:FindFirstChild("Left Hip")
| |
| 367 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 368 | N = tors:FindFirstChild("Neck")
| |
| 369 | end | |
| 370 | end | |
| 371 | function makegloo(paren, co, ci, parto, parti, nam) | |
| 372 | local gloo = Instance.new("Glue")
| |
| 373 | gloo.Name = nam | |
| 374 | gloo.C0 = co | |
| 375 | gloo.C1 = ci | |
| 376 | gloo.Part0 = parto | |
| 377 | gloo.Part1 = parti | |
| 378 | gloo.Parent = paren | |
| 379 | end | |
| 380 | function makejoint(paren, co, ci, parto, parti, nam) | |
| 381 | local gloo = Instance.new("Motor6D")
| |
| 382 | gloo.Name = nam | |
| 383 | gloo.C0 = co | |
| 384 | gloo.C1 = ci | |
| 385 | gloo.Part0 = parto | |
| 386 | gloo.Part1 = parti | |
| 387 | gloo.Parent = paren | |
| 388 | end | |
| 389 | function maketouchy(parent, limb, cframe) | |
| 390 | local pr = Instance.new("Part")
| |
| 391 | pr.Name = "touchy" | |
| 392 | pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 393 | pr.Transparency = 1 | |
| 394 | pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) | |
| 395 | pr.CanCollide = true | |
| 396 | pr.Anchored = false | |
| 397 | pr.Parent = parent | |
| 398 | local w = Instance.new("Weld")
| |
| 399 | w.Part0 = pr | |
| 400 | w.Part1 = limb | |
| 401 | w.C0 = cframe | |
| 402 | w.Parent = pr | |
| 403 | end | |
| 404 | local clibat, spec | |
| 405 | local dipperhat = chr:FindFirstChild("DXD_DipperHat")
| |
| 406 | local dipperrot | |
| 407 | if dipperhat then | |
| 408 | dipperrot = dipperhat.Handle.HatAttachment.Rotation | |
| 409 | end | |
| 410 | ||
| 411 | function epic() | |
| 412 | if Music == false then | |
| 413 | Music = true | |
| 414 | local sond = Instance.new("Sound",tors)
| |
| 415 | sond.Volume = 10 | |
| 416 | sond.Pitch = 1 | |
| 417 | sond.EmitterSize = 25 | |
| 418 | sond.Name = "Music" | |
| 419 | sond.Looped = true | |
| 420 | sond.SoundId = "rbxassetid://840125700" | |
| 421 | sond:Play() | |
| 422 | fire.Enabled = true | |
| 423 | else | |
| 424 | tors:findFirstChild("Music"):remove()
| |
| 425 | Music = false | |
| 426 | fire.Enabled = false | |
| 427 | end | |
| 428 | end | |
| 429 | ||
| 430 | function Bloodthirst() | |
| 431 | if Music == false and Berserk == false then | |
| 432 | Music = true | |
| 433 | Berserk = true | |
| 434 | local sond = Instance.new("Sound",tors)
| |
| 435 | sond.Volume = 5 | |
| 436 | sond.Pitch = 1 | |
| 437 | sond.EmitterSize = 25 | |
| 438 | sond.Name = "Music" | |
| 439 | sond.Looped = true | |
| 440 | sond.SoundId = "rbxassetid://678853703" | |
| 441 | sond:Play() | |
| 442 | for i = 1,25 do | |
| 443 | for i2 = 1,i do | |
| 444 | local ra = math.random(4,14)/10 | |
| 445 | local p23 = Instance.new("Part",Maedl)p23.Size = Vector3.new(ra,ra,ra)p23.Material = "Neon" p23.BrickColor = BrickColor.new("White") p23.CanCollide = false
| |
| 446 | p23.CFrame = chr.HumanoidRootPart.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.random(-90,90),math.random(-90,90),math.random(-90,90)) | |
| 447 | p23.Anchored = true local B23 = Instance.new("BlockMesh",p23)
| |
| 448 | end | |
| 449 | wait() | |
| 450 | end | |
| 451 | for i,v in pairs (Maedl:children()) do | |
| 452 | v.Anchored = false | |
| 453 | local BP = Instance.new("BodyPosition",v)BP.P = 100000 BP.maxForce = Vector3.new(math.huge,math.huge,math.huge)v:findFirstChild("BodyPosition").Position = tors.Position
| |
| 454 | end | |
| 455 | wait(1) | |
| 456 | for i,v in pairs (Maedl:children()) do | |
| 457 | v:findFirstChild("BodyPosition").maxForce = Vector3.new(20000,20000,20000)
| |
| 458 | v:findFirstChild("BodyPosition").Position = tors.Position+Vector3.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000))
| |
| 459 | v:findFirstChild("Mesh").Scale = Vector3.new(12,12,12)game.Debris:AddItem(v,0.4)
| |
| 460 | end | |
| 461 | local Blood = Instance.new("ParticleEmitter", tors)
| |
| 462 | Blood.Enabled = false | |
| 463 | Blood.Lifetime = NumberRange.new(0.4) | |
| 464 | Blood.RotSpeed = NumberRange.new(0) | |
| 465 | Blood.Acceleration = Vector3.new(0,-10,0) | |
| 466 | Blood.Rate = 100 | |
| 467 | Blood.VelocitySpread = 360 | |
| 468 | Blood.Rotation = NumberRange.new(-360,360) | |
| 469 | Blood.Name = "Blood" | |
| 470 | Blood.LightEmission = 3 | |
| 471 | Blood.LockedToPart = true | |
| 472 | Blood.Texture = "http://www.roblox.com/asset/?id=513989292" | |
| 473 | Blood.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 7), NumberSequenceKeypoint.new(1, 0)})
| |
| 474 | Blood.ZOffset = 4 Blood.Enabled = true | |
| 475 | Blood.Enabled = true | |
| 476 | else | |
| 477 | tors:findFirstChild("Music"):remove()
| |
| 478 | Music = false | |
| 479 | Berserk = false | |
| 480 | tors:findFirstChild("Blood").Enabled = false
| |
| 481 | end | |
| 482 | end | |
| 483 | ||
| 484 | function bat() | |
| 485 | if selected == false or activu == true then | |
| 486 | return | |
| 487 | end | |
| 488 | if batting == false then | |
| 489 | batting = true | |
| 490 | do | |
| 491 | local bmod = Instance.new("Model")
| |
| 492 | bmod.Name = "bmodel" | |
| 493 | bmod.Parent = chr | |
| 494 | local hnd = makepart("Brown", "hnd", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 495 | local hmes = makemesh("Head", Vector3.new(1, 9, 1), nil, hnd)
| |
| 496 | local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
| 497 | local pt1 = makepart("White", "pt1", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 498 | local p1m = makemesh("Head", Vector3.new(1.5, 1.5, 1.5), nil, pt1)
| |
| 499 | local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
| 500 | local pt2 = makepart("White", "pt2", 0, 1, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 501 | local p2m = makemesh("FileMesh", Vector3.new(0.375, 0.375, 0.375), "rbxassetid://250640098", pt2)
| |
| 502 | p2m.TextureId = "rbxassetid://250639536" | |
| 503 | local p2w = makeweld(pt2, pt2, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), nil) | |
| 504 | local pt3 = makepart("White", "pt3", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 505 | local p3m = makemesh("Head", Vector3.new(1.5, 1.5, 1.5), nil, pt3)
| |
| 506 | local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil) | |
| 507 | local pt4 = makepart("White", "pt4", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 508 | local p4m = makemesh("FileMesh", Vector3.new(0.025, 0.025, 0.025), "rbxassetid://703458158", pt4)
| |
| 509 | local p4w = makeweld(pt4, pt4, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), nil) | |
| 510 | local pt5 = makepart("White", "pt5", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 511 | local p5m = makemesh("Cylinder", Vector3.new(21.5, 3.125, 3.125), nil, pt5)
| |
| 512 | local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil) | |
| 513 | local pt6 = makepart("White", "pt6", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 514 | local p6m = makemesh("Head", Vector3.new(3.25, 3.25, 3.25), nil, pt6)
| |
| 515 | local p6w = makeweld(pt6, pt6, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), nil) | |
| 516 | local pt7 = makepart("White", "pt7", 0, 1, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 517 | local p7m = makemesh("FileMesh", Vector3.new(0.95, 0.95, 0.95), "rbxassetid://272942659", pt7)
| |
| 518 | p7m.TextureId = "rbxassetid://272942750" | |
| 519 | local p7w = makeweld(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), nil) | |
| 520 | local pt8 = Instance.new("Part",chr)pt8.Transparency =1 pt8.CanCollide = false pt8.Anchored = false pt8.Size = Vector3.new(6,1,1)
| |
| 521 | local w23 = Instance.new("Weld",pt8)w23.Part0 = pt8 w23.Part1 = pt5
| |
| 522 | local swingwoo = Instance.new("Sound")
| |
| 523 | swingwoo.SoundId = "rbxassetid://10209640" | |
| 524 | swingwoo.Pitch = rd2(10, 11) / 10 | |
| 525 | swingwoo.Name = "sweae" | |
| 526 | swingwoo.Volume = 1 | |
| 527 | swingwoo.Parent = hrp | |
| 528 | clibat = tool.Activated:connect(function() | |
| 529 | if selected == false or activu == true or ragged == true then | |
| 530 | return | |
| 531 | end | |
| 532 | activu = true | |
| 533 | if Combo == 1 then | |
| 534 | for _ = 1, 2 do | |
| 535 | swait() | |
| 536 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 537 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 538 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
| 539 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 540 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 541 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 542 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 543 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 544 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 545 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 546 | end | |
| 547 | swingwoo:Play() | |
| 548 | for X = 1, 4 do | |
| 549 | swait() | |
| 550 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)),25) | |
| 551 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
| 552 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 553 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 554 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 555 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 556 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 557 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 558 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 559 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 560 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 561 | end | |
| 562 | Combo = 2 | |
| 563 | elseif Combo == 2 then | |
| 564 | for _ = 1, 2 do | |
| 565 | swait() | |
| 566 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(15), rd(25), rd(60)), 0.7) | |
| 567 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 568 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(35), rd(-35), rd(179)), 0.7) | |
| 569 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 570 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-35), rd(35), rd(30)), 0.7) | |
| 571 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 572 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 573 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 574 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-35), rd(-110)), 0.7) | |
| 575 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 576 | end | |
| 577 | swingwoo:Play() | |
| 578 | for X = 1, 4 do | |
| 579 | swait() | |
| 580 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)), 25) | |
| 581 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(78), rd(-15), rd(-45)), 0.7) | |
| 582 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 583 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(15), rd(35)), 0.7) | |
| 584 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 585 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-120), rd(15), rd(25)), 0.7) | |
| 586 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 587 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-35), rd(80)), 0.7) | |
| 588 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 589 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 590 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 591 | end | |
| 592 | Combo = 3 | |
| 593 | elseif Combo == 3 then | |
| 594 | for _ = 1, 2 do | |
| 595 | swait() | |
| 596 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(0), rd(25), rd(0)), 0.7) | |
| 597 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-56), rd(0), rd(0)), 0.7) | |
| 598 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-25), rd(199)), 0.7) | |
| 599 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 600 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-35), rd(35), rd(30)), 0.7) | |
| 601 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 602 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 603 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 604 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-35), rd(-110)), 0.7) | |
| 605 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 606 | end | |
| 607 | swingwoo:Play() | |
| 608 | for X = 1, 4 do | |
| 609 | swait() | |
| 610 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)), 25) | |
| 611 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(0), rd(-15), rd(0)), 0.7) | |
| 612 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 613 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(15), rd(35)), 0.7) | |
| 614 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 615 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-120), rd(15), rd(25)), 0.7) | |
| 616 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 617 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-35), rd(80)), 0.7) | |
| 618 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 619 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 620 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 621 | end | |
| 622 | Combo = 4 | |
| 623 | else Combo = 1 | |
| 624 | for _ = 1, 2 do | |
| 625 | swait() | |
| 626 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(20), rd(10), rd(-40)), 0.7) | |
| 627 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 628 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(129)), 0.7) | |
| 629 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 630 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(40), rd(40), rd(20)), 0.7) | |
| 631 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 632 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 633 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 634 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 635 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 636 | end | |
| 637 | swingwoo:Play() | |
| 638 | for X = 1, 4 do | |
| 639 | swait() | |
| 640 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)), 1) | |
| 641 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(10), rd(-30)), 0.7) | |
| 642 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 643 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 644 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 645 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 646 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 647 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 648 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 649 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 650 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 651 | end | |
| 652 | end | |
| 653 | activu = false | |
| 654 | end) | |
| 655 | spec = mouse.KeyDown:connect(function(keya) | |
| 656 | if selected == false or activu == true or ragged == true then | |
| 657 | return | |
| 658 | end | |
| 659 | ||
| 660 | if keya == "e" then | |
| 661 | activu = true | |
| 662 | local speed = human.WalkSpeed | |
| 663 | human.WalkSpeed = 0 | |
| 664 | human:SetStateEnabled(3, false) | |
| 665 | local function expa() | |
| 666 | if Berserk == false then | |
| 667 | for _ = 1, 3 do | |
| 668 | swait() | |
| 669 | hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7) | |
| 670 | p1m.Scale = p1m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
| 671 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), 0.7) | |
| 672 | p2m.Scale = p2m.Scale:lerp(Vector3.new(1.125, 1.125, 1.125), 0.7) | |
| 673 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 3.6750000000000003, 0.22499999999999998), 0.7) | |
| 674 | p3m.Scale = p3m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
| 675 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7) | |
| 676 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.07500000000000001, 0.07500000000000001, 0.07500000000000001), 0.7) | |
| 677 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -3.75, 0), 0.7) | |
| 678 | p5m.Scale = p5m.Scale:lerp(Vector3.new(64.5, 18.75, 18.75), 0.7) | |
| 679 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -12.075000000000001, 0), 0.7) | |
| 680 | p6m.Scale = p6m.Scale:lerp(Vector3.new(19.5, 19.5, 19.5), 0.7) | |
| 681 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -18.15, 0), 0.7) | |
| 682 | p7m.Scale = p7m.Scale:lerp(Vector3.new(2.8499999999999996, 2.8499999999999996, 2.8499999999999996), 0.7) | |
| 683 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -18.6, 0), 0.7) | |
| 684 | end | |
| 685 | for _ = 1, 5 do | |
| 686 | swait() | |
| 687 | hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7) | |
| 688 | p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
| 689 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7) | |
| 690 | p2m.Scale = p2m.Scale:lerp(Vector3.new(0.75, 0.75, 0.75), 0.7) | |
| 691 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 2.45, 0.15), 0.7) | |
| 692 | p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
| 693 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7) | |
| 694 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7) | |
| 695 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7) | |
| 696 | p5m.Scale = p5m.Scale:lerp(Vector3.new(43, 12.5, 12.5), 0.7) | |
| 697 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7) | |
| 698 | p6m.Scale = p6m.Scale:lerp(Vector3.new(13, 13, 13), 0.7) | |
| 699 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -12.1, 0), 0.7) | |
| 700 | p7m.Scale = p7m.Scale:lerp(Vector3.new(1.9, 1.9, 1.9), 0.7) | |
| 701 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -12.4, 0), 0.7) | |
| 702 | end | |
| 703 | for _ = 1, 3 do | |
| 704 | swait() | |
| 705 | hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7) | |
| 706 | p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
| 707 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7) | |
| 708 | p2m.Scale = p2m.Scale:lerp(Vector3.new(2.25, 2.25, 2.25), 0.7) | |
| 709 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 7.3500000000000005, 0.44999999999999996), 0.7) | |
| 710 | p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
| 711 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7) | |
| 712 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7) | |
| 713 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7) | |
| 714 | p5m.Scale = p5m.Scale:lerp(Vector3.new(129, 37.5, 37.5), 0.7) | |
| 715 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7) | |
| 716 | p6m.Scale = p6m.Scale:lerp(Vector3.new(39, 39, 39), 0.7) | |
| 717 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -36.3, 0), 0.7) | |
| 718 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 5.699999999999999, 5.699999999999999), 0.7) | |
| 719 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -37.2, 0), 0.7) | |
| 720 | end | |
| 721 | for _ = 1, 5 do | |
| 722 | swait() | |
| 723 | hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7) | |
| 724 | p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 725 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7) | |
| 726 | p2m.Scale = p2m.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.7) | |
| 727 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 4.9, 0.3), 0.7) | |
| 728 | p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 729 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7) | |
| 730 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7) | |
| 731 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7) | |
| 732 | p5m.Scale = p5m.Scale:lerp(Vector3.new(86, 25, 25), 0.7) | |
| 733 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7) | |
| 734 | p6m.Scale = p6m.Scale:lerp(Vector3.new(26, 26, 26), 0.7) | |
| 735 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -24.2, 0), 0.7) | |
| 736 | p7m.Scale = p7m.Scale:lerp(Vector3.new(3.8, 3.8, 3.8), 0.7) | |
| 737 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -24.8, 0), 0.7) | |
| 738 | end | |
| 739 | for _ = 1, 3 do | |
| 740 | swait() | |
| 741 | hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7) | |
| 742 | p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
| 743 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7) | |
| 744 | p2m.Scale = p2m.Scale:lerp(Vector3.new(3.375, 3.375, 3.375), 0.7) | |
| 745 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 11.025, 0.6749999999999999), 0.7) | |
| 746 | p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
| 747 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7) | |
| 748 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7) | |
| 749 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7) | |
| 750 | p5m.Scale = p5m.Scale:lerp(Vector3.new(193.5, 56.25, 56.25), 0.7) | |
| 751 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7) | |
| 752 | p6m.Scale = p6m.Scale:lerp(Vector3.new(58.5, 58.5, 58.5), 0.7) | |
| 753 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -54.449999999999996, 0), 0.7) | |
| 754 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 8.549999999999999, 8.549999999999999), 0.7) | |
| 755 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -55.800000000000004, 0), 0.7) | |
| 756 | end | |
| 757 | for _ = 1, 5 do | |
| 758 | swait() | |
| 759 | hmes.Scale = hmes.Scale:lerp(Vector3.new(14*2.5, 63*2.5, 14*2.5), 0.7) | |
| 760 | p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5*2.5, 17.5*2.5, 17.5*2.5), 0.7) | |
| 761 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7*2.5, 0), 0.7) | |
| 762 | p2m.Scale = p2m.Scale:lerp(Vector3.new(2.625*2.5, 2.625*2.5, 2.625*2.5), 0.7) | |
| 763 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 8.575000000000001*2.5, 0.525*2.5), 0.7) | |
| 764 | p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5*2.5, 17.5*2.5, 17.5*2.5), 0.7) | |
| 765 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7*2.5, 0), 0.7) | |
| 766 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002*2.5, 0.17500000000000002*2.5, 0.17500000000000002*2.5), 0.7) | |
| 767 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75*2.5, 0), 0.7) | |
| 768 | p5m.Scale = p5m.Scale:lerp(Vector3.new(150.5*2.5, 43.75*2.5, 43.75*2.5), 0.7) | |
| 769 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -28.175000000000004*2.5, 0), 0.7) | |
| 770 | p6m.Scale = p6m.Scale:lerp(Vector3.new(45.5*2.5, 45.5*2.5, 45.5*2.5), 0.7) | |
| 771 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -42.35*2.5, 0), 0.7) | |
| 772 | p7m.Scale = p7m.Scale:lerp(Vector3.new(6.6499999999999995*2.5, 6.6499999999999995*2.5, 6.6499999999999995*2.5), 0.7) | |
| 773 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -43.4*2.5, 0), 0.7) | |
| 774 | end | |
| 775 | end | |
| 776 | end | |
| 777 | for _ = 1, 9 do | |
| 778 | swait() | |
| 779 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
| 780 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
| 781 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
| 782 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 783 | lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5) | |
| 784 | if dipperhat then | |
| 785 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3) | |
| 786 | end | |
| 787 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 788 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
| 789 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 790 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
| 791 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 792 | end | |
| 793 | for _ = 1, 9 do | |
| 794 | swait() | |
| 795 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
| 796 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
| 797 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
| 798 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 799 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3) | |
| 800 | if dipperhat then | |
| 801 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3) | |
| 802 | end | |
| 803 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 804 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
| 805 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 806 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
| 807 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 808 | end | |
| 809 | for _ = 1, 30 do | |
| 810 | swait() | |
| 811 | lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2) | |
| 812 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2) | |
| 813 | lerpz(RS, "C0", RSC0 * cf(0, -0.4, 0.2) * ang(rd(85), rd(0), rd(85)), 0.2) | |
| 814 | lerpz(RS, "C1", RSC1 * cf(0, -0.4, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 815 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2) | |
| 816 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 817 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2) | |
| 818 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 819 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2) | |
| 820 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 821 | end | |
| 822 | expa() | |
| 823 | for O = 1, 10 do | |
| 824 | swait() | |
| 825 | lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01) | |
| 826 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01) | |
| 827 | lerpz(RS, "C0", RSC0 * cf(0, -0.4, 0.2) * ang(rd(85), rd(0), rd(85)), 0.001 + O * 0.01) | |
| 828 | lerpz(RS, "C1", RSC1 * cf(0, -0.4, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 829 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01) | |
| 830 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 831 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01) | |
| 832 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 833 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01) | |
| 834 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 835 | end | |
| 836 | local whoooo = Instance.new("Sound")
| |
| 837 | whoooo.Volume = 3 | |
| 838 | whoooo.TimePosition = 0.15 | |
| 839 | whoooo.Pitch = 0.5 | |
| 840 | whoooo.SoundId = "rbxassetid://320557353" | |
| 841 | whoooo.Parent = pt5 | |
| 842 | whoooo:Play() | |
| 843 | game.Debris:AddItem(whoooo, 2) | |
| 844 | if Berserk == true then | |
| 845 | for O = 1, 75 do | |
| 846 | swait() | |
| 847 | local O2 = O*0.015 | |
| 848 | hito3(pt5, 25, 40, 0.75, hrp.CFrame.rightVector * -450 + Vector3.new(0, 200, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160)), 25) | |
| 849 | lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(60*O*(O2/2))), 0.1 + O * 0.02) | |
| 850 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.02) | |
| 851 | lerpz(RS, "C0", RSC0 * cf(0, -0.4, 0.2) * ang(rd(85), rd(0), rd(35)), 0.1 + O * 0.02) | |
| 852 | lerpz(RS, "C1", RSC1 * cf(0, -0.4, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.02) | |
| 853 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.02) | |
| 854 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.02) | |
| 855 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.02) | |
| 856 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.02) | |
| 857 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.02) | |
| 858 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.02) | |
| 859 | hmes.Scale = hmes.Scale:lerp(Vector3.new(14*O2, 63*O2, 14*O2), 0.7) | |
| 860 | p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5*O2, 17.5*O2, 17.5*O2), 0.7) | |
| 861 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7*O2, 0), 0.7) | |
| 862 | p2m.Scale = p2m.Scale:lerp(Vector3.new(2.625*O2, 2.625*O2, 2.625*O2), 0.7) | |
| 863 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 8.575000000000001*O2, 0.525*O2), 0.7) | |
| 864 | p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5*O2, 17.5*O2, 17.5*O2), 0.7) | |
| 865 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7*O2, 0), 0.7) | |
| 866 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002*O2, 0.17500000000000002*O2, 0.17500000000000002*O2), 0.7) | |
| 867 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75*O2, 0), 0.7) | |
| 868 | p5m.Scale = p5m.Scale:lerp(Vector3.new(150.5*O2, 43.75*O2, 43.75*O2), 0.7) | |
| 869 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -28.175000000000004*O2, 0), 0.7) | |
| 870 | p6m.Scale = p6m.Scale:lerp(Vector3.new(45.5*O2, 45.5*O2, 45.5*O2), 0.7) | |
| 871 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -42.35*O2, 0), 0.7) | |
| 872 | p7m.Scale = p7m.Scale:lerp(Vector3.new(6.6499999999999995*O2, 6.6499999999999995*O2, 6.6499999999999995*O2), 0.7) | |
| 873 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -43.4*O2, 0), 0.7) | |
| 874 | wait() | |
| 875 | end | |
| 876 | else | |
| 877 | for O = 1, 6 do | |
| 878 | swait() | |
| 879 | hito(pt5, 25, 40, 0.75, hrp.CFrame.rightVector * -450 + Vector3.new(0, 200, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160)), 25) | |
| 880 | lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05) | |
| 881 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05) | |
| 882 | lerpz(RS, "C0", RSC0 * cf(0, -0.4, 0.2) * ang(rd(85), rd(0), rd(35)), 0.1 + O * 0.05) | |
| 883 | lerpz(RS, "C1", RSC1 * cf(0, -0.4, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 884 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05) | |
| 885 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 886 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05) | |
| 887 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 888 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05) | |
| 889 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 890 | end | |
| 891 | end | |
| 892 | for O = 1, 13 do | |
| 893 | swait() | |
| 894 | hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075) | |
| 895 | p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 896 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075) | |
| 897 | p2m.Scale = p2m.Scale:lerp(Vector3.new(0.375, 0.375, 0.375), 0.05 + O * 0.075) | |
| 898 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), 0.05 + O * 0.075) | |
| 899 | p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 900 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075) | |
| 901 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075) | |
| 902 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075) | |
| 903 | p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 6.25, 6.25), 0.05 + O * 0.075) | |
| 904 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075) | |
| 905 | p6m.Scale = p6m.Scale:lerp(Vector3.new(6.5, 6.5, 6.5), 0.05 + O * 0.075) | |
| 906 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), 0.05 + O * 0.075) | |
| 907 | p7m.Scale = p7m.Scale:lerp(Vector3.new(0.95, 0.95, 0.95), 0.05 + O * 0.075) | |
| 908 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), 0.05 + O * 0.075) | |
| 909 | lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075) | |
| 910 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075) | |
| 911 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075) | |
| 912 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 913 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075) | |
| 914 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 915 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075) | |
| 916 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 917 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075) | |
| 918 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 919 | end | |
| 920 | if dipperhat then | |
| 921 | dipperhat.Handle.HatAttachment.Rotation = dipperrot | |
| 922 | end | |
| 923 | human.WalkSpeed = speed | |
| 924 | human:SetStateEnabled(3, true) | |
| 925 | activu = false | |
| 926 | end | |
| 927 | if keya == "q" then | |
| 928 | activu = true | |
| 929 | do | |
| 930 | local checkkey = true | |
| 931 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 932 | if xzx == "q" then | |
| 933 | checkkey = false | |
| 934 | end | |
| 935 | end) | |
| 936 | repeat | |
| 937 | if Berserk == true then | |
| 938 | for _ = 1, 5 do | |
| 939 | swait() | |
| 940 | hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7) | |
| 941 | p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 942 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7) | |
| 943 | p2m.Scale = p2m.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.7) | |
| 944 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 4.9, 0.3), 0.7) | |
| 945 | p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 946 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7) | |
| 947 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7) | |
| 948 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7) | |
| 949 | p5m.Scale = p5m.Scale:lerp(Vector3.new(86, 25, 25), 0.7) | |
| 950 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7) | |
| 951 | p6m.Scale = p6m.Scale:lerp(Vector3.new(26, 26, 26), 0.7) | |
| 952 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -24.2, 0), 0.7) | |
| 953 | p7m.Scale = p7m.Scale:lerp(Vector3.new(3.8, 3.8, 3.8), 0.7) | |
| 954 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -24.8, 0), 0.7) | |
| 955 | end | |
| 956 | for _ = 1, 6 do | |
| 957 | swait() | |
| 958 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 959 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 960 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
| 961 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 962 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 963 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 964 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 965 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 966 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 967 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 968 | end | |
| 969 | swingwoo:Play() | |
| 970 | for X = 1, 6 do | |
| 971 | swait() | |
| 972 | hito3(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40))) | |
| 973 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(0), rd(10)), 0.7) | |
| 974 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 975 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 976 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 977 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 978 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 979 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 980 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 981 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 982 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 983 | wait() | |
| 984 | end | |
| 985 | for O = 1, 13 do | |
| 986 | swait() | |
| 987 | hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075) | |
| 988 | p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 989 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075) | |
| 990 | p2m.Scale = p2m.Scale:lerp(Vector3.new(0.375, 0.375, 0.375), 0.05 + O * 0.075) | |
| 991 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), 0.05 + O * 0.075) | |
| 992 | p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 993 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075) | |
| 994 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075) | |
| 995 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075) | |
| 996 | p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 6.25, 6.25), 0.05 + O * 0.075) | |
| 997 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075) | |
| 998 | p6m.Scale = p6m.Scale:lerp(Vector3.new(6.5, 6.5, 6.5), 0.05 + O * 0.075) | |
| 999 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), 0.05 + O * 0.075) | |
| 1000 | p7m.Scale = p7m.Scale:lerp(Vector3.new(0.95, 0.95, 0.95), 0.05 + O * 0.075) | |
| 1001 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), 0.05 + O * 0.075) | |
| 1002 | end | |
| 1003 | else | |
| 1004 | for _ = 1, 2 do | |
| 1005 | swait() | |
| 1006 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 1007 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 1008 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
| 1009 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1010 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 1011 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1012 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 1013 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1014 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 1015 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1016 | end | |
| 1017 | swingwoo:Play() | |
| 1018 | for T = 1, 2 do | |
| 1019 | swait() | |
| 1020 | hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)), 25) | |
| 1021 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
| 1022 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1023 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 1024 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1025 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 1026 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1027 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 1028 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1029 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 1030 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1031 | end | |
| 1032 | for _ = 1, 2 do | |
| 1033 | swait() | |
| 1034 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7) | |
| 1035 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 1036 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7) | |
| 1037 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1038 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7) | |
| 1039 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1040 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 1041 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1042 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7) | |
| 1043 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1044 | end | |
| 1045 | swingwoo:Play() | |
| 1046 | for T = 1, 2 do | |
| 1047 | swait() | |
| 1048 | if T == 2 then | |
| 1049 | hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)),25) | |
| 1050 | end | |
| 1051 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7) | |
| 1052 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 1053 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7) | |
| 1054 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1055 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 1056 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1057 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 1058 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1059 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7) | |
| 1060 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1061 | end | |
| 1062 | end | |
| 1063 | until not checkkey | |
| 1064 | keyingup:Disconnect() | |
| 1065 | activu = false | |
| 1066 | end | |
| 1067 | end | |
| 1068 | if keya == "f" then | |
| 1069 | activu = true | |
| 1070 | do | |
| 1071 | local speed = human.WalkSpeed | |
| 1072 | human.WalkSpeed = 10 | |
| 1073 | human:SetStateEnabled(3, false) | |
| 1074 | local checkkey = true | |
| 1075 | local chargecounter = 0 | |
| 1076 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 1077 | if xzx == "f" then | |
| 1078 | checkkey = false | |
| 1079 | end | |
| 1080 | end) | |
| 1081 | local firederp | |
| 1082 | for _ = 1, 8 do | |
| 1083 | swait() | |
| 1084 | hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 1085 | lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
| 1086 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
| 1087 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
| 1088 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1089 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
| 1090 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1091 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
| 1092 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1093 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
| 1094 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
| 1095 | end | |
| 1096 | repeat | |
| 1097 | swait() | |
| 1098 | if Berserk == true then | |
| 1099 | chargecounter = chargecounter + 15 | |
| 1100 | else | |
| 1101 | chargecounter = chargecounter + 1 | |
| 1102 | end | |
| 1103 | lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.002) | |
| 1104 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.002) | |
| 1105 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.002) | |
| 1106 | if chargecounter > 100 and firederp == nil then | |
| 1107 | P = fire:clone()P.Parent = pt8 P.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
| |
| 1108 | P.Speed = NumberRange.new(5,10)P.Enabled = true P.Lifetime = NumberRange.new(0.8)P.ZOffset = 2 | |
| 1109 | firederp = true | |
| 1110 | end | |
| 1111 | until not checkkey or chargecounter > 450 | |
| 1112 | swingwoo:Play() | |
| 1113 | for U = 1, 10 do | |
| 1114 | swait() | |
| 1115 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 1) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 40)),chargecounter) | |
| 1116 | if chargecounter > 300 then | |
| 1117 | tagexplode(pt5, 25, 5) | |
| 1118 | elseif chargecounter > 200 then | |
| 1119 | tagexplode(pt5, 20, 4) | |
| 1120 | elseif chargecounter > 100 then | |
| 1121 | tagexplode(pt5, 10, 2) | |
| 1122 | elseif chargecounter > 50 then | |
| 1123 | tagexplode(pt5, 5, 1) | |
| 1124 | end | |
| 1125 | if firederp == true then | |
| 1126 | pt8:findFirstChild("Fire"):remove()
| |
| 1127 | firederp = nil | |
| 1128 | end | |
| 1129 | hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 1130 | lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
| 1131 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
| 1132 | lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
| 1133 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
| 1134 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
| 1135 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
| 1136 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
| 1137 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 1138 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
| 1139 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
| 1140 | end | |
| 1141 | swait(10) | |
| 1142 | hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
| 1143 | keyingup:Disconnect() | |
| 1144 | human.WalkSpeed = speed | |
| 1145 | human:SetStateEnabled(3, true) | |
| 1146 | activu = false | |
| 1147 | end | |
| 1148 | end | |
| 1149 | if keya == "h" then | |
| 1150 | activu = true | |
| 1151 | do | |
| 1152 | local speed = human.WalkSpeed | |
| 1153 | human.WalkSpeed = 10 | |
| 1154 | human:SetStateEnabled(3, false) | |
| 1155 | local checkkey = true | |
| 1156 | local chargecounter = 0 | |
| 1157 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 1158 | if xzx == "h" then | |
| 1159 | checkkey = false | |
| 1160 | end | |
| 1161 | end) | |
| 1162 | local firederp | |
| 1163 | for _ = 1, 8 do | |
| 1164 | swait() | |
| 1165 | hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 1166 | lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
| 1167 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
| 1168 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
| 1169 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1170 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
| 1171 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1172 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
| 1173 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1174 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
| 1175 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
| 1176 | end | |
| 1177 | repeat | |
| 1178 | swait() | |
| 1179 | if Berserk == true then | |
| 1180 | chargecounter = chargecounter + 10 | |
| 1181 | else | |
| 1182 | chargecounter = chargecounter + 1 | |
| 1183 | end | |
| 1184 | Lightningz(pt8.Position+Vector3.new(math.random(-chargecounter/100,chargecounter/100),math.random(-chargecounter/100,chargecounter/100),math.random((-chargecounter*6)/100,(chargecounter*6)/100)), pt8.Position+Vector3.new(math.random(-chargecounter/100,chargecounter/100),math.random(-chargecounter/100,chargecounter/100),math.random((-chargecounter*6)/100,(chargecounter*6)/100)), 0.05, 8, game.Workspace) | |
| 1185 | lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.002) | |
| 1186 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.002) | |
| 1187 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.002) | |
| 1188 | until not checkkey or chargecounter > 450 | |
| 1189 | swingwoo:Play() | |
| 1190 | for U = 1, 10 do | |
| 1191 | swait() | |
| 1192 | hito4(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 1) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 40)),chargecounter) | |
| 1193 | if chargecounter > 300 then | |
| 1194 | tagexplode(pt5, 25, 5) | |
| 1195 | elseif chargecounter > 200 then | |
| 1196 | tagexplode(pt5, 20, 4) | |
| 1197 | elseif chargecounter > 100 then | |
| 1198 | tagexplode(pt5, 10, 2) | |
| 1199 | elseif chargecounter > 50 then | |
| 1200 | tagexplode(pt5, 5, 1) | |
| 1201 | end | |
| 1202 | if firederp == true then | |
| 1203 | pt8:findFirstChild("Fire"):remove()
| |
| 1204 | firederp = nil | |
| 1205 | end | |
| 1206 | hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 1207 | lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
| 1208 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
| 1209 | lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
| 1210 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
| 1211 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
| 1212 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
| 1213 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
| 1214 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 1215 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
| 1216 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
| 1217 | end | |
| 1218 | swait(10) | |
| 1219 | hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
| 1220 | keyingup:Disconnect() | |
| 1221 | human.WalkSpeed = speed | |
| 1222 | human:SetStateEnabled(3, true) | |
| 1223 | activu = false | |
| 1224 | end | |
| 1225 | end | |
| 1226 | if keya == "t" then | |
| 1227 | activu = true | |
| 1228 | do | |
| 1229 | local speed = human.WalkSpeed | |
| 1230 | human.WalkSpeed = 10 | |
| 1231 | human:SetStateEnabled(3, false) | |
| 1232 | local checkkey = true | |
| 1233 | local chargecounter = 0 | |
| 1234 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 1235 | if xzx == "t" then | |
| 1236 | checkkey = false | |
| 1237 | end | |
| 1238 | end) | |
| 1239 | local firederp | |
| 1240 | for _ = 1, 8 do | |
| 1241 | swait() | |
| 1242 | hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 1243 | lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
| 1244 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
| 1245 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
| 1246 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1247 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
| 1248 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 1249 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
| 1250 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 1251 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
| 1252 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
| 1253 | end | |
| 1254 | repeat | |
| 1255 | swait() | |
| 1256 | if Berserk == true then | |
| 1257 | chargecounter = chargecounter + 15 | |
| 1258 | else | |
| 1259 | chargecounter = chargecounter + 1 | |
| 1260 | end | |
| 1261 | lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.002) | |
| 1262 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.002) | |
| 1263 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.002) | |
| 1264 | if chargecounter > 100 and firederp == nil then | |
| 1265 | P = fire:clone()P.Parent = pt8 P.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
| |
| 1266 | P.Speed = NumberRange.new(5,10)P.Enabled = true P.Lifetime = NumberRange.new(0.8)P.ZOffset = 2 | |
| 1267 | firederp = true | |
| 1268 | end | |
| 1269 | until not checkkey or chargecounter > 450 | |
| 1270 | swingwoo:Play() | |
| 1271 | for U = 1, 10 do | |
| 1272 | swait() | |
| 1273 | hito2(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 1) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 40)), 1) | |
| 1274 | if chargecounter > 300 then | |
| 1275 | tagexplode(pt5, 25, 5) | |
| 1276 | elseif chargecounter > 200 then | |
| 1277 | tagexplode(pt5, 20, 4) | |
| 1278 | elseif chargecounter > 100 then | |
| 1279 | tagexplode(pt5, 10, 2) | |
| 1280 | elseif chargecounter > 50 then | |
| 1281 | tagexplode(pt5, 5, 1) | |
| 1282 | end | |
| 1283 | if firederp == true then | |
| 1284 | pt8:findFirstChild("Fire"):remove()
| |
| 1285 | firederp = nil | |
| 1286 | end | |
| 1287 | hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 1288 | lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
| 1289 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
| 1290 | lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
| 1291 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
| 1292 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
| 1293 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
| 1294 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
| 1295 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 1296 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
| 1297 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
| 1298 | end | |
| 1299 | batting = false | |
| 1300 | clibat:Disconnect() | |
| 1301 | spec:Disconnect() | |
| 1302 | hrp.sweae:Destroy() | |
| 1303 | local batmod = chr:FindFirstChild("bmodel")
| |
| 1304 | batmod.hnd.Weld:Destroy() | |
| 1305 | batmod.PrimaryPart = batmod.hnd | |
| 1306 | batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
| 1307 | for _, A in pairs(batmod:GetChildren()) do | |
| 1308 | if A.ClassName == "Part" then | |
| 1309 | A.CanCollide = true | |
| 1310 | A.Anchored = false | |
| 1311 | end | |
| 1312 | end | |
| 1313 | batmod.Parent = workspace | |
| 1314 | game.Debris:AddItem(batmod, 8) | |
| 1315 | hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
| 1316 | keyingup:Disconnect() | |
| 1317 | human.WalkSpeed = speed | |
| 1318 | human:SetStateEnabled(3, true) | |
| 1319 | activu = false | |
| 1320 | end | |
| 1321 | end | |
| 1322 | end) | |
| 1323 | end | |
| 1324 | elseif batting == true then | |
| 1325 | batting = false | |
| 1326 | clibat:Disconnect() | |
| 1327 | spec:Disconnect() | |
| 1328 | hrp.sweae:Destroy() | |
| 1329 | local batmod = chr:FindFirstChild("bmodel")
| |
| 1330 | batmod.hnd.Weld:Destroy() | |
| 1331 | batmod.PrimaryPart = batmod.hnd | |
| 1332 | batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
| 1333 | for _, A in pairs(batmod:GetChildren()) do | |
| 1334 | if A.ClassName == "Part" then | |
| 1335 | A.CanCollide = true | |
| 1336 | A.Anchored = false | |
| 1337 | end | |
| 1338 | end | |
| 1339 | batmod.Parent = workspace | |
| 1340 | game.Debris:AddItem(batmod, 8) | |
| 1341 | end | |
| 1342 | end | |
| 1343 | local movin = false | |
| 1344 | local cliham, hamspec | |
| 1345 | function ham() | |
| 1346 | if batting == false then | |
| 1347 | batting = true | |
| 1348 | do | |
| 1349 | local bmod = Instance.new("Model")
| |
| 1350 | bmod.Name = "bmodel" | |
| 1351 | bmod.Parent = chr | |
| 1352 | local makemotor = function(parent, p0, p1, c0, c1) | |
| 1353 | local wel = Instance.new("Motor6D")
| |
| 1354 | wel.Part0 = p0 | |
| 1355 | wel.Part1 = p1 | |
| 1356 | wel.C0 = c0 | |
| 1357 | if c1 ~= nil then | |
| 1358 | wel.C1 = c1 | |
| 1359 | end | |
| 1360 | wel.Parent = parent | |
| 1361 | return wel | |
| 1362 | end | |
| 1363 | local hnd = makepart("Brown", "hnd", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1364 | hnd.Anchored = true | |
| 1365 | local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd)
| |
| 1366 | movin = true | |
| 1367 | hnd.CFrame = hrp.CFrame | |
| 1368 | coroutine.resume(coroutine.create(function() | |
| 1369 | while hnd.Anchored == true do | |
| 1370 | swait() | |
| 1371 | if movin then | |
| 1372 | hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65) | |
| 1373 | end | |
| 1374 | end | |
| 1375 | end)) | |
| 1376 | local pt1 = makepart("Brown", "pt1", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1377 | local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1)
| |
| 1378 | local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil) | |
| 1379 | local pt2 = makepart("Brown", "pt2", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1380 | local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2)
| |
| 1381 | local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil) | |
| 1382 | local pt3 = makepart("Magenta", "pt3", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1383 | local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3)
| |
| 1384 | local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil) | |
| 1385 | local pt4 = makepart("Brown", "pt4", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1386 | local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://250640098", pt4)
| |
| 1387 | p4m.TextureId = "rbxassetid://250639536" | |
| 1388 | local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil) | |
| 1389 | local pt5 = makepart("Bright blue", "pt5", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1390 | local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5)
| |
| 1391 | local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil) | |
| 1392 | local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1393 | local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://703458158", pt6)
| |
| 1394 | local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil) | |
| 1395 | local pt7 = makepart("Magenta", "pt7", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1396 | local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7)
| |
| 1397 | local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil) | |
| 1398 | local hdec1 = Instance.new("Decal")
| |
| 1399 | hdec1.Texture = "rbxasset://textures/face.png" | |
| 1400 | hdec1.Face = "Front" | |
| 1401 | hdec1.Parent = pt7 | |
| 1402 | local pt8 = makepart("Magenta", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1403 | local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8)
| |
| 1404 | local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil) | |
| 1405 | local hdec2 = Instance.new("Decal")
| |
| 1406 | hdec2.Texture = "rbxasset://textures/face.png" | |
| 1407 | hdec2.Face = "Front" | |
| 1408 | hdec2.Parent = pt8 | |
| 1409 | local pt9 = makepart("Magenta", "pt9", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1410 | local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://272942659", pt9)
| |
| 1411 | local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil) | |
| 1412 | p9m.TextureId = "rbxassetid://272942750" | |
| 1413 | local pt10 = makepart("Magenta", "pt10", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1414 | local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10)
| |
| 1415 | local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil) | |
| 1416 | local hdec3 = Instance.new("Decal")
| |
| 1417 | hdec3.Texture = "rbxasset://textures/face.png" | |
| 1418 | hdec3.Face = "Front" | |
| 1419 | hdec3.Parent = pt10 | |
| 1420 | local pt11 = makepart("Magenta", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1421 | local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11)
| |
| 1422 | local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil) | |
| 1423 | local hdec4 = Instance.new("Decal")
| |
| 1424 | hdec4.Texture = "rbxasset://textures/face.png" | |
| 1425 | hdec4.Face = "Front" | |
| 1426 | hdec4.Parent = pt11 | |
| 1427 | local pt12 = makepart("Magenta", "pt12", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1428 | local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12)
| |
| 1429 | local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil) | |
| 1430 | local hdec5 = Instance.new("Decal")
| |
| 1431 | hdec5.Texture = "rbxasset://textures/face.png" | |
| 1432 | hdec5.Face = "Front" | |
| 1433 | hdec5.Parent = pt12 | |
| 1434 | local pt13 = makepart("Magenta", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1435 | local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13)
| |
| 1436 | local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil) | |
| 1437 | local hdec6 = Instance.new("Decal")
| |
| 1438 | hdec6.Texture = "rbxasset://textures/face.png" | |
| 1439 | hdec6.Face = "Front" | |
| 1440 | hdec6.Parent = pt13 | |
| 1441 | cliham = tool.Activated:connect(function() | |
| 1442 | if selected == false or activu == true or ragged == true then | |
| 1443 | return | |
| 1444 | end | |
| 1445 | activu = true | |
| 1446 | movin = false | |
| 1447 | for B = 1, 20 do | |
| 1448 | swait() | |
| 1449 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4) | |
| 1450 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4) | |
| 1451 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4) | |
| 1452 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1453 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4) | |
| 1454 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1455 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4) | |
| 1456 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1457 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4) | |
| 1458 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1459 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045) | |
| 1460 | end | |
| 1461 | for B = 1, 30 do | |
| 1462 | swait() | |
| 1463 | lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80) | |
| 1464 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80) | |
| 1465 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80) | |
| 1466 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 1467 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80) | |
| 1468 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 1469 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80) | |
| 1470 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 1471 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80) | |
| 1472 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 1473 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 1474 | end | |
| 1475 | for B = 1, 7 do | |
| 1476 | swait() | |
| 1477 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15) | |
| 1478 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15) | |
| 1479 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15) | |
| 1480 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 1481 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15) | |
| 1482 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 1483 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15) | |
| 1484 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 1485 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15) | |
| 1486 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 1487 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 1488 | end | |
| 1489 | for B = 1, 4 do | |
| 1490 | swait() | |
| 1491 | lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1) | |
| 1492 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1) | |
| 1493 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1) | |
| 1494 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 1495 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1) | |
| 1496 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 1497 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1) | |
| 1498 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 1499 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1) | |
| 1500 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 1501 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 1502 | end | |
| 1503 | swait(15) | |
| 1504 | movin = true | |
| 1505 | activu = false | |
| 1506 | end) | |
| 1507 | end | |
| 1508 | elseif batting == true then | |
| 1509 | batting = false | |
| 1510 | cliham:Disconnect() | |
| 1511 | local badevz = chr:FindFirstChild("bmodel")
| |
| 1512 | badevz.PrimaryPart = badevz.hnd | |
| 1513 | for _, A in pairs(badevz:GetChildren()) do | |
| 1514 | if A.ClassName == "Part" then | |
| 1515 | A.CanCollide = true | |
| 1516 | A.Anchored = false | |
| 1517 | end | |
| 1518 | end | |
| 1519 | movin = false | |
| 1520 | badevz.Parent = workspace | |
| 1521 | badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0)) | |
| 1522 | game.Debris:AddItem(badevz, 8) | |
| 1523 | end | |
| 1524 | end | |
| 1525 | game:GetService("ContentProvider"):Preload("rbxassetid://725969678")
| |
| 1526 | function lauf() | |
| 1527 | if selected == false or activu == true then | |
| 1528 | return | |
| 1529 | end | |
| 1530 | lauf1:Play() | |
| 1531 | end | |
| 1532 | noobmodel = Instance.new("Model",chr)
| |
| 1533 | function makenoob(cfrem, scalo, rags) | |
| 1534 | nscale.Value = scalo | |
| 1535 | local md = Instance.new("Model")
| |
| 1536 | md.Name = "Noob" | |
| 1537 | md.Parent = workspace | |
| 1538 | local hu = Instance.new("Humanoid")
| |
| 1539 | hu.RigType = "R6" | |
| 1540 | hu.MaxHealth = 100 * scalo | |
| 1541 | hu.Health = 100 * scalo | |
| 1542 | hu.Parent = md | |
| 1543 | local anm = Instance.new("Animator")
| |
| 1544 | anm.Parent = hu | |
| 1545 | hu.PlatformStand = true | |
| 1546 | local light = function(part) | |
| 1547 | part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5) | |
| 1548 | end | |
| 1549 | local hd = Instance.new("Part")
| |
| 1550 | hd.Name = "Head" | |
| 1551 | hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 1552 | hd.TopSurface = "Smooth" | |
| 1553 | hd.BottomSurface = "Inlet" | |
| 1554 | hd.Locked = true | |
| 1555 | hd.BrickColor = BrickColor.new("White")
| |
| 1556 | hd.CanCollide = true | |
| 1557 | hd.Anchored = false | |
| 1558 | light(hd) | |
| 1559 | hd.Parent = md | |
| 1560 | local hm = Instance.new("SpecialMesh")
| |
| 1561 | hm.MeshType = "Head" | |
| 1562 | hm.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 1563 | hm.Parent = hd | |
| 1564 | local hf = Instance.new("Decal")
| |
| 1565 | hf.Texture = "rbxasset://textures/face.png" | |
| 1566 | local gen = math.random(1, 40) | |
| 1567 | if gen == 3 then | |
| 1568 | hf.Texture = "rbxassetid://260884109" | |
| 1569 | end | |
| 1570 | if gen == 8 then | |
| 1571 | hf.Texture = "rbxassetid://260569492" | |
| 1572 | end | |
| 1573 | if gen == 12 then | |
| 1574 | hf.Texture = "rbxassetid://259580505" | |
| 1575 | end | |
| 1576 | if gen == 16 then | |
| 1577 | hf.Texture = "rbxassetid://259579232" | |
| 1578 | end | |
| 1579 | if gen == 24 then | |
| 1580 | hf.Texture = "rbxassetid://259571525" | |
| 1581 | end | |
| 1582 | if gen == 28 then | |
| 1583 | hf.Texture = "rbxassetid://258283210" | |
| 1584 | end | |
| 1585 | if gen == 32 then | |
| 1586 | hf.Texture = "rbxassetid://258940032" | |
| 1587 | end | |
| 1588 | if gen == 38 then | |
| 1589 | hf.Texture = "rbxassetid://673220970" | |
| 1590 | hf.Color3 = Color3.new(255, 255, 255) | |
| 1591 | end | |
| 1592 | hf.Face = "Front" | |
| 1593 | hf.Parent = hd | |
| 1594 | local hrpa = Instance.new("Part")
| |
| 1595 | hrpa.Name = "HumanoidRootPart" | |
| 1596 | hrpa.TopSurface, hrpa.BottomSurface = 0, 0 | |
| 1597 | hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1598 | hrpa.Transparency = 1 | |
| 1599 | hrpa.CanCollide = false | |
| 1600 | hrpa.Locked = true | |
| 1601 | light(hrpa) | |
| 1602 | hrpa.Parent = md | |
| 1603 | local tagbomb = Instance.new("BoolValue")
| |
| 1604 | tagbomb.Name = "tagbomb" | |
| 1605 | tagbomb.Value = false | |
| 1606 | tagbomb.Parent = hrpa | |
| 1607 | local learm = Instance.new("Part")
| |
| 1608 | learm.Name = "Left Arm" | |
| 1609 | learm.BrickColor = BrickColor.new("White")
| |
| 1610 | learm.CanCollide = false | |
| 1611 | learm.Locked = true | |
| 1612 | learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1613 | light(learm) | |
| 1614 | learm.Parent = md | |
| 1615 | local riarm = Instance.new("Part")
| |
| 1616 | riarm.Name = "Right Arm" | |
| 1617 | riarm.BrickColor = BrickColor.new("White")
| |
| 1618 | riarm.CanCollide = false | |
| 1619 | riarm.Locked = true | |
| 1620 | light(riarm) | |
| 1621 | riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1622 | riarm.Parent = md | |
| 1623 | local leleg = Instance.new("Part")
| |
| 1624 | leleg.Name = "Left Leg" | |
| 1625 | leleg.BrickColor = BrickColor.new("White")
| |
| 1626 | leleg.CanCollide = false | |
| 1627 | leleg.Locked = true | |
| 1628 | light(leleg) | |
| 1629 | leleg.BottomSurface = 0 | |
| 1630 | leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1631 | leleg.Parent = md | |
| 1632 | local rileg = Instance.new("Part")
| |
| 1633 | rileg.Name = "Right Leg" | |
| 1634 | rileg.BrickColor = BrickColor.new("White")
| |
| 1635 | rileg.CanCollide = false | |
| 1636 | rileg.Locked = true | |
| 1637 | light(rileg) | |
| 1638 | rileg.BottomSurface = 0 | |
| 1639 | rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1640 | rileg.Parent = md | |
| 1641 | local tor = Instance.new("Part")
| |
| 1642 | tor.Name = "Torso" | |
| 1643 | tor.BrickColor = BrickColor.new("White")
| |
| 1644 | tor.Locked = true | |
| 1645 | light(tor) | |
| 1646 | tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1647 | tor.LeftSurface, tor.RightSurface = "Weld", "Weld" | |
| 1648 | tor.Parent = md | |
| 1649 | md.PrimaryPart = hrpa | |
| 1650 | md:SetPrimaryPartCFrame(cfrem) | |
| 1651 | md:makeJoints() | |
| 1652 | makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint") | |
| 1653 | makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck") | |
| 1654 | if rags == true then | |
| 1655 | makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 1656 | makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 1657 | makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 1658 | makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 1659 | maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1660 | maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1661 | maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1662 | maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1663 | elseif rags == false then | |
| 1664 | makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 1665 | makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 1666 | makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 1667 | makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 1668 | hu.PlatformStand = false | |
| 1669 | end | |
| 1670 | nscale.Value = 1 | |
| 1671 | hu.Touched:connect(function(tpart, uwot) | |
| 1672 | if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md then | |
| 1673 | tagbomb.Value = false | |
| 1674 | hu.Health = 0 | |
| 1675 | local derp = Instance.new("Explosion")
| |
| 1676 | derp.BlastPressure = 200 | |
| 1677 | derp.BlastRadius = 20 | |
| 1678 | derp.DestroyJointRadiusPercent = 0 | |
| 1679 | derp.ExplosionType = 20 | |
| 1680 | derp.Visible = true | |
| 1681 | derp.Position = uwot.Position - Vector3.new(0, 0.5, 0) | |
| 1682 | derp.Parent = workspace | |
| 1683 | game.Debris:AddItem(md, 8) | |
| 1684 | end | |
| 1685 | end) | |
| 1686 | return md | |
| 1687 | end | |
| 1688 | local Moe = Instance.new("Model",game.Workspace)Moe.Name = "Baseballs"
| |
| 1689 | function Baseball() | |
| 1690 | if activu == true then return end | |
| 1691 | activu = true | |
| 1692 | local Middle = Instance.new("Part",Moe)Middle.BrickColor = BrickColor.new("White")Middle.Size = Vector3.new(0.75,0.75,0.75)
| |
| 1693 | Middle.TopSurface = "Smooth" Middle.BottomSurface = "Smooth" local M1 = Instance.new("SpecialMesh",Middle)M1.MeshType = "Sphere" Middle.CanCollide = false
| |
| 1694 | Middle.Material = "SmoothPlastic" local W1 = Instance.new("Weld", Middle)W1.Part0 = Middle W1.Part1 = rarm W1.C0 = CFrame.new(0,1.2,0)
| |
| 1695 | for _ = 1, 3 do | |
| 1696 | swait() | |
| 1697 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 1698 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1699 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
| 1700 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1701 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 1702 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1703 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 1704 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1705 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 1706 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1707 | end | |
| 1708 | local Fre = fire:clone()Fre.Parent = Middle Fre.Enabled = true Fre.Lifetime = NumberRange.new(0.75) | |
| 1709 | Fre.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
| |
| 1710 | game.Debris:AddItem(W1,0) | |
| 1711 | wait() | |
| 1712 | Middle.CFrame = CFrame.new(tors.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p) | |
| 1713 | local BV = Instance.new("BodyVelocity",Middle)BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)BV.Velocity = Middle.CFrame.lookVector * 150
| |
| 1714 | for X = 1, 3 do | |
| 1715 | swait() | |
| 1716 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
| 1717 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1718 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 1719 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1720 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 1721 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1722 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 1723 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1724 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 1725 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 1726 | end | |
| 1727 | activu = false | |
| 1728 | end | |
| 1729 | function makecircle(cfrem, scalo) | |
| 1730 | local mcir1 = Instance.new("Part")
| |
| 1731 | mcir1.Anchored = true | |
| 1732 | mcir1.CanCollide = false | |
| 1733 | mcir1.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1734 | mcir1.Transparency = 1 | |
| 1735 | mcir1.CFrame = cfrem | |
| 1736 | mcir1.Parent = modz | |
| 1737 | game.Debris:AddItem(mcir1, 8) | |
| 1738 | local d1 = Instance.new("Decal")
| |
| 1739 | d1.Texture = "rbxassetid://602615043" | |
| 1740 | d1.Face = "Front" | |
| 1741 | d1.Parent = mcir1 | |
| 1742 | local d2 = Instance.new("Decal")
| |
| 1743 | d2.Texture = "rbxassetid://602617463" | |
| 1744 | d2.Face = "Back" | |
| 1745 | d2.Parent = mcir1 | |
| 1746 | local bme = Instance.new("BlockMesh")
| |
| 1747 | bme.Parent = mcir1 | |
| 1748 | for _ = 1, 2 do | |
| 1749 | swait() | |
| 1750 | bme.Scale = bme.Scale:lerp(Vector3.new(60 * scalo, 60 * scalo, 0), 0.2) | |
| 1751 | end | |
| 1752 | for _ = 1, 15 do | |
| 1753 | swait() | |
| 1754 | bme.Scale = bme.Scale:lerp(Vector3.new(-0.2 * scalo, -0.2 * scalo, 0), 0.2) | |
| 1755 | end | |
| 1756 | for _ = 1, 3 do | |
| 1757 | swait() | |
| 1758 | bme.Scale = bme.Scale:lerp(Vector3.new(80 * scalo, 80 * scalo, 0), 0.2) | |
| 1759 | end | |
| 1760 | coroutine.resume(coroutine.create(function() | |
| 1761 | swait(15) | |
| 1762 | for _ = 1, 12 do | |
| 1763 | swait() | |
| 1764 | d1.Transparency = d1.Transparency + 0.08 | |
| 1765 | d2.Transparency = d2.Transparency + 0.08 | |
| 1766 | end | |
| 1767 | mcir1:Destroy() | |
| 1768 | end)) | |
| 1769 | return mcir1 | |
| 1770 | end | |
| 1771 | function spawnnoob(circlecf, noobcf, scalez, ragd) | |
| 1772 | local aearae = makecircle(circlecf, scalez) | |
| 1773 | local nananb | |
| 1774 | if ragd then | |
| 1775 | nananb = makenoob(aearae.CFrame * noobcf, scalez, true) | |
| 1776 | elseif not ragd then | |
| 1777 | nananb = makenoob(aearae.CFrame * noobcf, scalez, false) | |
| 1778 | end | |
| 1779 | return nananb | |
| 1780 | end | |
| 1781 | function tagexplode(partoz, magn, bombdelay) | |
| 1782 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1783 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Noob" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then
| |
| 1784 | coroutine.resume(coroutine.create(function() | |
| 1785 | swait(bombdelay * 30) | |
| 1786 | guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true
| |
| 1787 | end)) | |
| 1788 | end | |
| 1789 | end | |
| 1790 | end | |
| 1791 | function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot, charge) | |
| 1792 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1793 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 1794 | do | |
| 1795 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1796 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1797 | if Berserk == true then | |
| 1798 | humz.Health = humz.Health - charge*charge*100 | |
| 1799 | else | |
| 1800 | humz.Health = humz.Health - charge*charge/10 | |
| 1801 | end | |
| 1802 | ragplayer(guy) | |
| 1803 | humz:SetStateEnabled(16, true) | |
| 1804 | delay(debtim, function() | |
| 1805 | humz:SetStateEnabled(16, true) | |
| 1806 | end) | |
| 1807 | local b = Instance.new("Part")
| |
| 1808 | nooutline(b) | |
| 1809 | b.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1810 | b.Transparency = 0.25 | |
| 1811 | b.Anchored = true | |
| 1812 | b.CanCollide = false | |
| 1813 | b.BrickColor = BrickColor.new("White")
| |
| 1814 | b.Locked = true | |
| 1815 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 1816 | b.Parent = modz | |
| 1817 | local c = Instance.new("SpecialMesh")
| |
| 1818 | c.MeshType = "Sphere" | |
| 1819 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 1820 | c.Parent = b | |
| 1821 | game.Debris:AddItem(b, 1) | |
| 1822 | if Berserk == false then | |
| 1823 | humz:SetStateEnabled(16, true) | |
| 1824 | delay(debtim, function() | |
| 1825 | humz:SetStateEnabled(16, true) | |
| 1826 | end) | |
| 1827 | local db = Instance.new("StringValue")
| |
| 1828 | db.Name = "alabo" | |
| 1829 | db.Parent = horp | |
| 1830 | delay(debtim, function() | |
| 1831 | db:Destroy() | |
| 1832 | end) | |
| 1833 | end | |
| 1834 | if bodyfdire then | |
| 1835 | local boopyve = Instance.new("BodyVelocity")
| |
| 1836 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
| 1837 | boopyve.P = 9999999999 | |
| 1838 | boopyve.Velocity = bodyfdire | |
| 1839 | boopyve.Parent = horp | |
| 1840 | game.Debris:AddItem(boopyve, debtim) | |
| 1841 | end | |
| 1842 | if bodyrot then | |
| 1843 | local boopyro = Instance.new("BodyAngularVelocity")
| |
| 1844 | boopyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
| 1845 | boopyro.P = math.huge | |
| 1846 | boopyro.AngularVelocity = bodyrot | |
| 1847 | boopyro.Parent = horp | |
| 1848 | game.Debris:AddItem(boopyro, debtim) | |
| 1849 | end | |
| 1850 | for i = 1,2 do | |
| 1851 | local bet = Instance.new("Sound")
| |
| 1852 | bet.Pitch = rd2(9, 11) / 10 | |
| 1853 | bet.Volume = 2 | |
| 1854 | bet.SoundId = "rbxassetid://694048922" | |
| 1855 | bet.Parent = b | |
| 1856 | bet:Play() | |
| 1857 | end | |
| 1858 | if charge >= 100 then | |
| 1859 | local P = guy:GetChildren() | |
| 1860 | for i = 1,#P do | |
| 1861 | if P[i].Name ~= "HumanoidRootPart" then | |
| 1862 | P[i]:remove() | |
| 1863 | end | |
| 1864 | end | |
| 1865 | for i = 1,2 do | |
| 1866 | local bet = Instance.new("Sound")
| |
| 1867 | bet.Volume = 10 | |
| 1868 | bet.SoundId = "rbxassetid://291487516" | |
| 1869 | bet.Parent = b | |
| 1870 | bet:Play() | |
| 1871 | end | |
| 1872 | local Rainbew = fire:clone()Rainbew.Parent = horp Rainbew.Enabled = true Rainbew.Lifetime = NumberRange.new(4) Rainbew.Speed = NumberRange.new(0) | |
| 1873 | end | |
| 1874 | coroutine.resume(coroutine.create(function() | |
| 1875 | for _ = 1, 5 do | |
| 1876 | swait() | |
| 1877 | b.Transparency = b.Transparency + 0.175 | |
| 1878 | c.Scale = c.Scale + Vector3.new(2 * dmg, 2 * dmg, 2 * dmg) | |
| 1879 | end | |
| 1880 | end)) | |
| 1881 | end | |
| 1882 | end | |
| 1883 | end | |
| 1884 | end | |
| 1885 | function hito2(partoz, magn, dmg, debtim, bodyfdire, bodyrot) | |
| 1886 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1887 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 1888 | do | |
| 1889 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1890 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1891 | ragplayer(guy) | |
| 1892 | if guy:findFirstChild("Head")~=nil then
| |
| 1893 | guy.Head:BreakJoints() | |
| 1894 | local boopyve = Instance.new("BodyVelocity")
| |
| 1895 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
| 1896 | boopyve.P = 9999999999 | |
| 1897 | boopyve.Velocity = bodyfdire | |
| 1898 | boopyve.Parent = guy:findFirstChild("Head")
| |
| 1899 | game.Debris:AddItem(boopyve, debtim) | |
| 1900 | local Blood = Instance.new("ParticleEmitter", guy.Head)
| |
| 1901 | Blood.Enabled = false | |
| 1902 | Blood.Lifetime = NumberRange.new(0.75) | |
| 1903 | Blood.RotSpeed = NumberRange.new(10) | |
| 1904 | Blood.Acceleration = Vector3.new(0,-10,0) | |
| 1905 | Blood.Rate = 250 | |
| 1906 | Blood.VelocitySpread = 360 | |
| 1907 | Blood.Speed = NumberRange.new(2,8) | |
| 1908 | Blood.Rotation = NumberRange.new(-360,360) | |
| 1909 | Blood.Name = "Blood" | |
| 1910 | Blood.LightEmission = -0.5 | |
| 1911 | Blood.Texture = "http://www.roblox.com/asset/?id=513989292" | |
| 1912 | Blood.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.8), NumberSequenceKeypoint.new(1, 0)})
| |
| 1913 | Blood.ZOffset = 2 Blood.Enabled = true | |
| 1914 | end | |
| 1915 | humz:SetStateEnabled(16, true) | |
| 1916 | delay(debtim, function() | |
| 1917 | humz:SetStateEnabled(16, true) | |
| 1918 | end) | |
| 1919 | local db = Instance.new("StringValue")
| |
| 1920 | db.Name = "alabo" | |
| 1921 | db.Parent = horp | |
| 1922 | delay(debtim, function() | |
| 1923 | db:Destroy() | |
| 1924 | end) | |
| 1925 | if bodyfdire then | |
| 1926 | ||
| 1927 | end | |
| 1928 | if bodyrot then | |
| 1929 | local boopyro = Instance.new("BodyAngularVelocity")
| |
| 1930 | boopyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
| 1931 | boopyro.P = math.huge | |
| 1932 | boopyro.AngularVelocity = bodyrot | |
| 1933 | boopyro.Parent = horp | |
| 1934 | game.Debris:AddItem(boopyro, debtim) | |
| 1935 | end | |
| 1936 | for i = 1,2 do | |
| 1937 | local bet = Instance.new("Sound")
| |
| 1938 | bet.Pitch = rd2(9, 11) / 10 | |
| 1939 | bet.Volume = rd2(12, 14) / 10 | |
| 1940 | bet.SoundId = "rbxassetid://553265835" | |
| 1941 | bet.Parent = horp | |
| 1942 | bet:Play() | |
| 1943 | end | |
| 1944 | end | |
| 1945 | end | |
| 1946 | ||
| 1947 | end | |
| 1948 | end | |
| 1949 | function hito3(partoz, magn, dmg, debtim, bodyfdire, bodyrot, charge) | |
| 1950 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1951 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 1952 | do | |
| 1953 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1954 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1955 | local p23 = Instance.new("Part",Maedl)p23.Size = Vector3.new(1,1,1)p23.Material = "Neon" p23.BrickColor = BrickColor.new("White") p23.CanCollide = false
| |
| 1956 | p23.CFrame = guy.Torso.CFrame*CFrame.Angles(math.random(-90,90),math.random(-90,90),math.random(-90,90)) | |
| 1957 | local B23 = Instance.new("BlockMesh",p23)
| |
| 1958 | local BP = Instance.new("BodyPosition",p23)BP.P = 10000000 BP.maxForce = Vector3.new(math.huge,math.huge,math.huge)p23:findFirstChild("BodyPosition").Position = tors.Position
| |
| 1959 | game.Debris:AddItem(p23,2) | |
| 1960 | guy.Torso:BreakJoints() | |
| 1961 | local b = Instance.new("Part")
| |
| 1962 | nooutline(b) | |
| 1963 | b.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1964 | b.Transparency = 0 | |
| 1965 | b.Anchored = true | |
| 1966 | b.CanCollide = false | |
| 1967 | b.BrickColor = BrickColor.new("White")
| |
| 1968 | b.Locked = true | |
| 1969 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 1970 | b.Parent = modz | |
| 1971 | local c = Instance.new("SpecialMesh")
| |
| 1972 | c.MeshType = "Sphere" | |
| 1973 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 1974 | c.Parent = b | |
| 1975 | game.Debris:AddItem(b, 1) | |
| 1976 | humz:SetStateEnabled(16, true) | |
| 1977 | delay(debtim, function() | |
| 1978 | humz:SetStateEnabled(16, true) | |
| 1979 | end) | |
| 1980 | local db = Instance.new("StringValue")
| |
| 1981 | db.Name = "alabo" | |
| 1982 | db.Parent = horp | |
| 1983 | delay(debtim, function() | |
| 1984 | db:Destroy() | |
| 1985 | end) | |
| 1986 | for i = 1,2 do | |
| 1987 | local bet = Instance.new("Sound")
| |
| 1988 | bet.Pitch = rd2(9, 11) / 10 | |
| 1989 | bet.Volume = 10 | |
| 1990 | bet.SoundId = "rbxassetid://553265835" | |
| 1991 | bet.Parent = guy.Torso | |
| 1992 | bet:Play() | |
| 1993 | end | |
| 1994 | coroutine.resume(coroutine.create(function() | |
| 1995 | for _ = 1, 5 do | |
| 1996 | swait() | |
| 1997 | b.Transparency = b.Transparency + 0.2 | |
| 1998 | c.Scale = c.Scale + Vector3.new(4 * dmg, 4 * dmg, 4 * dmg) | |
| 1999 | end | |
| 2000 | end)) | |
| 2001 | end | |
| 2002 | end | |
| 2003 | end | |
| 2004 | end | |
| 2005 | function hito4(partoz, magn, dmg, debtim, bodyfdire, bodyrot, charge) | |
| 2006 | for _, guy in pairs(workspace:GetChildren()) do | |
| 2007 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 2008 | do | |
| 2009 | local humz = guy:FindFirstChild("Humanoid")
| |
| 2010 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 2011 | ragplayer(guy) | |
| 2012 | humz:SetStateEnabled(16, true) | |
| 2013 | delay(debtim, function() | |
| 2014 | humz:SetStateEnabled(16, true) | |
| 2015 | end) | |
| 2016 | if Berserk == false then | |
| 2017 | humz:SetStateEnabled(16, true) | |
| 2018 | delay(debtim, function() | |
| 2019 | humz:SetStateEnabled(16, true) | |
| 2020 | end) | |
| 2021 | local db = Instance.new("StringValue")
| |
| 2022 | db.Name = "alabo" | |
| 2023 | db.Parent = horp | |
| 2024 | delay(debtim, function() | |
| 2025 | db:Destroy() | |
| 2026 | end) | |
| 2027 | end | |
| 2028 | local boopyve = Instance.new("BodyVelocity")
| |
| 2029 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
| 2030 | boopyve.P = 9999999999 | |
| 2031 | boopyve.Velocity = bodyfdire | |
| 2032 | boopyve.Parent = horp | |
| 2033 | if bodyrot then | |
| 2034 | local boopyro = Instance.new("BodyAngularVelocity")
| |
| 2035 | boopyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
| 2036 | boopyro.P = math.huge | |
| 2037 | boopyro.AngularVelocity = bodyrot | |
| 2038 | boopyro.Parent = horp | |
| 2039 | game.Debris:AddItem(boopyro, debtim) | |
| 2040 | end | |
| 2041 | if charge >= 1 then | |
| 2042 | for i = 1,2 do | |
| 2043 | local bet = Instance.new("Sound")
| |
| 2044 | bet.Volume = 10 | |
| 2045 | bet.SoundId = "rbxassetid://517249876" | |
| 2046 | bet.Parent = tors | |
| 2047 | bet:Play() | |
| 2048 | end | |
| 2049 | for i = 1,100 do | |
| 2050 | Lightningz2(tors.Position+Vector3.new(math.random(-charge/100,charge/100)),guy.HumanoidRootPart.Position, 0.2, 8, game.Workspace) | |
| 2051 | humz.Health = 0.001 | |
| 2052 | wait() end game.Debris:AddItem(boopyve, 0) | |
| 2053 | end | |
| 2054 | end | |
| 2055 | end | |
| 2056 | end | |
| 2057 | end | |
| 2058 | function cleannoobs() | |
| 2059 | for _, nib in pairs(workspace:GetChildren()) do | |
| 2060 | coroutine.resume(coroutine.create(function() | |
| 2061 | if nib.Name == "Noob" then | |
| 2062 | if nib:FindFirstChild("HumanoidRootPart") then
| |
| 2063 | local g = Instance.new("Part")
| |
| 2064 | g.CanCollide, g.Anchored = false, true | |
| 2065 | g.Transparency = 1 | |
| 2066 | g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
| |
| 2067 | g.Parent = workspace | |
| 2068 | game.Debris:AddItem(g, 3.5) | |
| 2069 | local sou = Instance.new("Sound")
| |
| 2070 | sou.Pitch = math.random(7, 11) / 10 | |
| 2071 | sou.Volume = 0.8 | |
| 2072 | sou.SoundId = "rbxassetid://111124523" | |
| 2073 | sou.Parent = g | |
| 2074 | local pe = Instance.new("ParticleEmitter")
| |
| 2075 | pe.Acceleration = Vector3.new(0, 8, 0) | |
| 2076 | pe.Lifetime = NumberRange.new(1, 1.5) | |
| 2077 | pe.Rate = 0.005 | |
| 2078 | pe.RotSpeed = NumberRange.new(-30, 30) | |
| 2079 | pe.Rotation = NumberRange.new(0, 360) | |
| 2080 | pe.Size = NumberSequence.new({
| |
| 2081 | NumberSequenceKeypoint.new(0, 4.38, 0), | |
| 2082 | NumberSequenceKeypoint.new(0.672, 4.14, 0), | |
| 2083 | NumberSequenceKeypoint.new(1, 1.48, 0) | |
| 2084 | }) | |
| 2085 | pe.Texture = "rbxassetid://244221440" | |
| 2086 | pe.Transparency = NumberSequence.new({
| |
| 2087 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 2088 | NumberSequenceKeypoint.new(0.529, 0.3, 0), | |
| 2089 | NumberSequenceKeypoint.new(1, 1, 1) | |
| 2090 | }) | |
| 2091 | pe.ZOffset = 5 | |
| 2092 | pe.Enabled = true | |
| 2093 | pe.VelocitySpread = 360 | |
| 2094 | pe.Parent = g | |
| 2095 | swait(5) | |
| 2096 | pe:Emit(6) | |
| 2097 | sou:Play() | |
| 2098 | end | |
| 2099 | nib:Destroy() | |
| 2100 | end | |
| 2101 | end)) | |
| 2102 | end | |
| 2103 | end | |
| 2104 | function animo(yep) | |
| 2105 | if yep == true then | |
| 2106 | anim.Parent = human | |
| 2107 | chr.Animate.Disabled = false | |
| 2108 | elseif yep == false then | |
| 2109 | chr.Animate.Disabled = true | |
| 2110 | anim.Parent = nil | |
| 2111 | end | |
| 2112 | end | |
| 2113 | mouse.KeyDown:connect(function(key) | |
| 2114 | if key == "r" then | |
| 2115 | test() | |
| 2116 | end | |
| 2117 | if key == "m" then | |
| 2118 | lauf() | |
| 2119 | end | |
| 2120 | if key == "c" and plr.UserId == 49689731 then | |
| 2121 | ham() | |
| 2122 | end | |
| 2123 | if key == "x" then | |
| 2124 | bat() | |
| 2125 | end | |
| 2126 | if key == "y" then | |
| 2127 | epic() | |
| 2128 | end | |
| 2129 | if key == "m" then | |
| 2130 | Bloodthirst() | |
| 2131 | end | |
| 2132 | if key == "g" then | |
| 2133 | Baseball() | |
| 2134 | end | |
| 2135 | if key == "l" and plr.UserId == 49689731 and selected == true then | |
| 2136 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, true) | |
| 2137 | end | |
| 2138 | if key == ";" and plr.UserId == 49689731 and selected == true then | |
| 2139 | spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true) | |
| 2140 | end | |
| 2141 | if key == "k" and plr.UserId == 49689731 and selected == true then | |
| 2142 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false) | |
| 2143 | end | |
| 2144 | if key == "p" then | |
| 2145 | cleannoobs() | |
| 2146 | end | |
| 2147 | if key == "z" then | |
| 2148 | if selected == false or activu == true then | |
| 2149 | return | |
| 2150 | end | |
| 2151 | if human.WalkSpeed == 24 then | |
| 2152 | human.WalkSpeed = 150 | |
| 2153 | human.JumpPower = 150 | |
| 2154 | else | |
| 2155 | human.WalkSpeed = 24 | |
| 2156 | human.JumpPower = 85 | |
| 2157 | end | |
| 2158 | end | |
| 2159 | end) | |
| 2160 | tool.Equipped:connect(function() | |
| 2161 | script.Disabled = false | |
| 2162 | selected = true | |
| 2163 | end) | |
| 2164 | tool.Unequipped:connect(function() | |
| 2165 | selected = false | |
| 2166 | end) | |
| 2167 | animo(false) | |
| 2168 | human.WalkSpeed = 24 | |
| 2169 | sine = 0 | |
| 2170 | charge = 1 | |
| 2171 | cos = math.cos | |
| 2172 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 2173 | if Berserk == true then | |
| 2174 | chr.Humanoid.MaxHealth = chr.Humanoid.MaxHealth + 5000 | |
| 2175 | chr.Humanoid.Health = chr.Humanoid.Health + 2500 | |
| 2176 | end | |
| 2177 | if Music == true then | |
| 2178 | hito(tors, 5, 10, 0.2, hrp.CFrame.lookVector * 150, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)), 1) | |
| 2179 | end | |
| 2180 | for i,v in pairs (Maedl:children()) do | |
| 2181 | v:findFirstChild("Mesh").Offset = Vector3.new(math.random(-15-v.Mesh.Scale.Y,15+v.Mesh.Scale.Y)/10,math.random(-15-v.Mesh.Scale.Y,15+v.Mesh.Scale.Y)/10,math.random(-15-v.Mesh.Scale.Y,15+v.Mesh.Scale.Y)/10)
| |
| 2182 | v:findFirstChild("Mesh").Scale = v.Mesh.Scale + Vector3.new(0.025,0.025,0.025)
| |
| 2183 | end | |
| 2184 | for i,v in pairs (Moe:children()) do | |
| 2185 | hito(v, 5, 10, 0.2, Vector3.new(math.random(-100,100),100,math.random(-100,100)), Vector3.new(0, rd2(-25, 25) * (100 / 25), rd2(-80, 80) * (100 / 40)),100) | |
| 2186 | end | |
| 2187 | for i,v in pairs (chr:children()) do | |
| 2188 | if v.ClassName == "Accessory" then | |
| 2189 | for i,v2 in pairs (v:children()) do | |
| 2190 | if v2.ClassName == "Part" then | |
| 2191 | v2.Anchored = false | |
| 2192 | end | |
| 2193 | end | |
| 2194 | end | |
| 2195 | end | |
| 2196 | for i,v in pairs (chr:children()) do | |
| 2197 | if v.ClassName == "Part" then | |
| 2198 | v.Anchored = false | |
| 2199 | end | |
| 2200 | end | |
| 2201 | if ragged == false and activu == false then | |
| 2202 | local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
| 2203 | local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
| |
| 2204 | local checkstate = human:GetState() | |
| 2205 | if checkstate.Value == 13 then | |
| 2206 | animpose = "Sitting" | |
| 2207 | elseif hrp.Velocity.y > 1 and checkpart == nil then | |
| 2208 | animpose = "Jumping" | |
| 2209 | elseif hrp.Velocity.y < -1 and checkpart == nil then | |
| 2210 | animpose = "Falling" | |
| 2211 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 2212 | animpose = "Idle" | |
| 2213 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then | |
| 2214 | animpose = "Walking" | |
| 2215 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then | |
| 2216 | animpose = "TooFast" | |
| 2217 | end | |
| 2218 | if animpose == "Idle" then | |
| 2219 | sine = sine + charge | |
| 2220 | lerpz(RJ, "C0", RJC0 * cf(0.05 * cos(sine / 40), 0, -0.05 - 0.05 * cos(sine / 20)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2221 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3) | |
| 2222 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3) | |
| 2223 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2224 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3) | |
| 2225 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2226 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), 0.05 * cos(sine / 40)) * ang(rd(-5), rd(-5), rd(1)), 0.3) | |
| 2227 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2228 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), -0.05 * cos(sine / 40)) * ang(rd(-5), rd(5), rd(1)), 0.3) | |
| 2229 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2230 | end | |
| 2231 | if animpose == "Walking" then | |
| 2232 | sine = sine + charge | |
| 2233 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.025 * cos(sine / 4)) * ang(rd(-5), math.sin(hrp.RotVelocity.Y / 30), math.sin(hrp.RotVelocity.Y / 5)), 0.3) | |
| 2234 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3) | |
| 2235 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6) | |
| 2236 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2237 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6) | |
| 2238 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2239 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6) | |
| 2240 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2241 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6) | |
| 2242 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2243 | end | |
| 2244 | if animpose == "Jumping" then | |
| 2245 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3) | |
| 2246 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
| 2247 | lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3) | |
| 2248 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2249 | lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3) | |
| 2250 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2251 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3) | |
| 2252 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2253 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3) | |
| 2254 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2255 | end | |
| 2256 | if animpose == "Falling" then | |
| 2257 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
| 2258 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
| 2259 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3) | |
| 2260 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2261 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3) | |
| 2262 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2263 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3) | |
| 2264 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2265 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3) | |
| 2266 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2267 | end | |
| 2268 | if animpose == "TooFast" then | |
| 2269 | sine = sine + charge | |
| 2270 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(-20), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3) | |
| 2271 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3) | |
| 2272 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6) | |
| 2273 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2274 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6) | |
| 2275 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2276 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6) | |
| 2277 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2278 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6) | |
| 2279 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2280 | end | |
| 2281 | if animpose == "Sitting" then | |
| 2282 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2283 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2284 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 2285 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2286 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 2287 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2288 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 2289 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2290 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 2291 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2292 | end | |
| 2293 | end | |
| 2294 | end)plr = game.Players.battleman22222 | |
| 2295 | repeat | |
| 2296 | wait(0.4) | |
| 2297 | until plr.Character | |
| 2298 | chr = plr.Character | |
| 2299 | human = chr:FindFirstChild("Humanoid")
| |
| 2300 | mouse = plr:GetMouse() | |
| 2301 | cam = workspace.CurrentCamera | |
| 2302 | selected = false | |
| 2303 | equipd = false | |
| 2304 | tors = chr.Torso | |
| 2305 | rarm = chr["Right Arm"] | |
| 2306 | larm = chr["Left Arm"] | |
| 2307 | rleg = chr["Right Leg"] | |
| 2308 | lleg = chr["Left Leg"] | |
| 2309 | hrp = chr.HumanoidRootPart | |
| 2310 | hed = chr.Head | |
| 2311 | anim = human.Animator | |
| 2312 | activu = false | |
| 2313 | ragged = false | |
| 2314 | batting = false | |
| 2315 | Heartbeat = Instance.new("BindableEvent")
| |
| 2316 | Heartbeat.Name = "Heartbeat" | |
| 2317 | Heartbeat.Parent = script | |
| 2318 | Music = false | |
| 2319 | Berserk = false | |
| 2320 | Combo = 1 | |
| 2321 | frame = 0.03333333333333333 | |
| 2322 | tf = 0 | |
| 2323 | Maedl = Instance.new("Model",chr)
| |
| 2324 | local ColorsArray = {ColorSequenceKeypoint.new(0, Color3.new(255/255,255/255,255/255)),
| |
| 2325 | ColorSequenceKeypoint.new(0.16, Color3.new(0/0,0/0,0/0)), | |
| 2326 | ColorSequenceKeypoint.new(0.32, Color3.new(0/0,0/0,0/0)), | |
| 2327 | ColorSequenceKeypoint.new(0.48, Color3.new(0/0,0/0,0/0)), | |
| 2328 | ColorSequenceKeypoint.new(0.64, Color3.new(0/0,0/0,0/0)), | |
| 2329 | ColorSequenceKeypoint.new(0.80, Color3.new(0/0,0/0,0/0)), | |
| 2330 | ColorSequenceKeypoint.new(0.96, Color3.new(0/0,0/0,0/0)), | |
| 2331 | ColorSequenceKeypoint.new(1, Color3.new(0/0,0/0,0/0))} | |
| 2332 | local fire = Instance.new("ParticleEmitter", tors)
| |
| 2333 | fire.Enabled = false | |
| 2334 | fire.Lifetime = NumberRange.new(1.5) | |
| 2335 | fire.RotSpeed = NumberRange.new(10) | |
| 2336 | fire.Rate = 250 | |
| 2337 | fire.VelocitySpread = 360 | |
| 2338 | fire.Speed = NumberRange.new(2,8) | |
| 2339 | fire.Rotation = NumberRange.new(151515) | |
| 2340 | fire.Name = "Fire" | |
| 2341 | fire.LightEmission = 0.78 | |
| 2342 | fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
| 2343 | fire.Color = ColorSequence.new(ColorsArray) | |
| 2344 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6), NumberSequenceKeypoint.new(1, 0)})
| |
| 2345 | fire.ZOffset = 3 | |
| 2346 | ||
| 2347 | function Lightningz(pos, pos2, radius, numParts, model, removalTime) | |
| 2348 | radius = radius or 0.2 | |
| 2349 | numParts = numParts or 10 | |
| 2350 | model = model or game.Workspace | |
| 2351 | local pos = pos | |
| 2352 | local lastpos = lastpos | |
| 2353 | local lv = CFrame.new(pos,pos2).lookVector | |
| 2354 | removalTime = 0.001 | |
| 2355 | local dist = (pos-pos2).magnitude | |
| 2356 | local trans = 0 | |
| 2357 | local color = BrickColor.new("White")
| |
| 2358 | local dbp = dist/numParts | |
| 2359 | local last = pos | |
| 2360 | for i = 1,numParts do | |
| 2361 | local p = Instance.new("Part")
| |
| 2362 | p.FormFactor = "Custom" | |
| 2363 | p.Size = Vector3.new(1,1,1) | |
| 2364 | p.CanCollide = false | |
| 2365 | p.Transparency = trans | |
| 2366 | p.Anchored = true | |
| 2367 | p.BrickColor = color | |
| 2368 | p.Material = "Neon" | |
| 2369 | local x = math.random(-100,100)/100*dbp*4 | |
| 2370 | local y = math.random(-100,100)/100*dbp*4 | |
| 2371 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
| 2372 | local dist2 = (p2.p-last).magnitude | |
| 2373 | local mid = (p2.p+last)/2 | |
| 2374 | local m = Instance.new("BlockMesh",p)
| |
| 2375 | m.Scale = Vector3.new(radius,radius,dist2 + (radius/4)) | |
| 2376 | p.CFrame = CFrame.new(mid,p2.p) | |
| 2377 | last = p2.p | |
| 2378 | p.Parent = model | |
| 2379 | game.Debris:AddItem(p, 0.05) | |
| 2380 | end | |
| 2381 | if model ~= game.Workspace then | |
| 2382 | game.Debris:AddItem(model, 0) | |
| 2383 | end | |
| 2384 | end | |
| 2385 | ||
| 2386 | function Lightningz2(pos, pos2, radius, numParts, model, removalTime) | |
| 2387 | radius = radius or 0.2 | |
| 2388 | numParts = numParts or 10 | |
| 2389 | model = model or game.Workspace | |
| 2390 | local pos = pos | |
| 2391 | local lastpos = lastpos | |
| 2392 | local lv = CFrame.new(pos,pos2).lookVector | |
| 2393 | removalTime = 0.001 | |
| 2394 | local dist = (pos-pos2).magnitude | |
| 2395 | local trans = 0 | |
| 2396 | local color = BrickColor.new("White")
| |
| 2397 | local dbp = dist/numParts | |
| 2398 | local last = pos | |
| 2399 | for i = 1,numParts do | |
| 2400 | local p = Instance.new("Part")
| |
| 2401 | p.FormFactor = "Custom" | |
| 2402 | p.Size = Vector3.new(1,1,1) | |
| 2403 | p.CanCollide = false | |
| 2404 | p.Transparency = trans | |
| 2405 | p.Anchored = true | |
| 2406 | p.BrickColor = color | |
| 2407 | p.Material = "Neon" | |
| 2408 | local x = math.random(-100,100)/100*dbp/2 | |
| 2409 | local y = math.random(-100,100)/100*dbp/2 | |
| 2410 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
| 2411 | local dist2 = (p2.p-last).magnitude | |
| 2412 | local mid = (p2.p+last)/2 | |
| 2413 | local m = Instance.new("BlockMesh",p)
| |
| 2414 | m.Scale = Vector3.new(radius,radius,dist2 + (radius/4)) | |
| 2415 | p.CFrame = CFrame.new(mid,p2.p) | |
| 2416 | last = p2.p | |
| 2417 | p.Parent = model | |
| 2418 | game.Debris:AddItem(p, 0.05) | |
| 2419 | end | |
| 2420 | if model ~= game.Workspace then | |
| 2421 | game.Debris:AddItem(model, 0) | |
| 2422 | end | |
| 2423 | end | |
| 2424 | ||
| 2425 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 2426 | tf = tf + s | |
| 2427 | if tf >= frame then | |
| 2428 | for i = 1, math.floor(tf / frame) do | |
| 2429 | Heartbeat:Fire() | |
| 2430 | end | |
| 2431 | tf = tf - frame * math.floor(tf / frame) | |
| 2432 | end | |
| 2433 | end) | |
| 2434 | function swait(num) | |
| 2435 | if num == 0 or num == nil then | |
| 2436 | Heartbeat.Event:wait() | |
| 2437 | else | |
| 2438 | for i = 1, num do | |
| 2439 | Heartbeat.Event:wait() | |
| 2440 | end | |
| 2441 | end | |
| 2442 | end | |
| 2443 | tool = Instance.new("Tool")
| |
| 2444 | tool.CanBeDropped = false | |
| 2445 | tool.RequiresHandle = false | |
| 2446 | tool.TextureId = "rbxassetid://291302154" | |
| 2447 | tool.ToolTip = "NANI" | |
| 2448 | tool.Name = "AAAAAAAAAAAAAA" | |
| 2449 | tool.Parent = plr.Backpack | |
| 2450 | modz = Instance.new("Model")
| |
| 2451 | modz.Name = "efx" | |
| 2452 | modz.Parent = chr | |
| 2453 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2454 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2455 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2456 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2457 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2458 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2459 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2460 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2461 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2462 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2463 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2464 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2465 | local nscale = Instance.new("NumberValue")
| |
| 2466 | nscale.Value = 1 | |
| 2467 | nscale.Parent = nil | |
| 2468 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2469 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2470 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2471 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2472 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2473 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2474 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2475 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2476 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2477 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2478 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2479 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2480 | nscale.Changed:connect(function() | |
| 2481 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2482 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2483 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2484 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2485 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2486 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2487 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2488 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2489 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2490 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2491 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2492 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 2493 | end) | |
| 2494 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 2495 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 2496 | RH = tors:FindFirstChild("Right Hip")
| |
| 2497 | LH = tors:FindFirstChild("Left Hip")
| |
| 2498 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 2499 | N = tors:FindFirstChild("Neck")
| |
| 2500 | cf = CFrame.new | |
| 2501 | ang = CFrame.Angles | |
| 2502 | rd = math.rad | |
| 2503 | rd2 = math.random | |
| 2504 | function nooutline(p) | |
| 2505 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
| 2506 | end | |
| 2507 | function makepart(color, name, reflec, trans, mater, parnt, cfram) | |
| 2508 | local port = Instance.new("Part")
| |
| 2509 | port.BrickColor = BrickColor.new(color) | |
| 2510 | port.Name = name | |
| 2511 | port.Transparency = trans | |
| 2512 | nooutline(port) | |
| 2513 | port.Reflectance = reflec | |
| 2514 | port.Material = mater | |
| 2515 | port.Anchored = false | |
| 2516 | port.CanCollide = false | |
| 2517 | port.Locked = true | |
| 2518 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 2519 | port.Parent = parnt | |
| 2520 | return port | |
| 2521 | end | |
| 2522 | function makemesh(meshtype, scale, meshid, parent) | |
| 2523 | local mes = Instance.new("SpecialMesh")
| |
| 2524 | mes.MeshType = meshtype | |
| 2525 | mes.Scale = scale | |
| 2526 | if meshtype == "FileMesh" then | |
| 2527 | mes.MeshId = meshid | |
| 2528 | end | |
| 2529 | mes.Parent = parent | |
| 2530 | return mes | |
| 2531 | end | |
| 2532 | function makeweld(parent, p0, p1, c0, c1) | |
| 2533 | local wel = Instance.new("Weld")
| |
| 2534 | wel.Part0 = p0 | |
| 2535 | wel.Part1 = p1 | |
| 2536 | wel.C0 = c0 | |
| 2537 | if c1 ~= nil then | |
| 2538 | wel.C1 = c1 | |
| 2539 | end | |
| 2540 | wel.Parent = parent | |
| 2541 | return wel | |
| 2542 | end | |
| 2543 | local lauf1 = Instance.new("Sound")
| |
| 2544 | lauf1.SoundId = "rbxassetid://137473066" | |
| 2545 | lauf1.Volume = 1.5 | |
| 2546 | lauf1.Pitch = 2 | |
| 2547 | lauf1.Parent = hrp | |
| 2548 | function lerpz(joint, prop, cfrmz, alp) | |
| 2549 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
| 2550 | end | |
| 2551 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2552 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2553 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2554 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2555 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2556 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2557 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2558 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2559 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2560 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 2561 | function resetlerp() | |
| 2562 | RJ.C0 = RJC0 | |
| 2563 | RJ.C1 = RJC1 | |
| 2564 | N.C0 = NC0 | |
| 2565 | N.C1 = NC1 | |
| 2566 | RS.C0 = RSC0 | |
| 2567 | RS.C1 = RSC1 | |
| 2568 | LS.C0 = LSC0 | |
| 2569 | LS.C1 = LSC1 | |
| 2570 | RH.C0 = RHC0 | |
| 2571 | RH.C1 = RHC1 | |
| 2572 | LH.C0 = LHC0 | |
| 2573 | LH.C1 = LHC1 | |
| 2574 | end | |
| 2575 | function ragplayer(cactus) | |
| 2576 | cactus.Humanoid.PlatformStand = true | |
| 2577 | if cactus["Right Arm"]~=nil and cactus.Torso:FindFirstChild("Right Shoulder") then
| |
| 2578 | cactus.Torso:FindFirstChild("Right Shoulder"):Destroy()
| |
| 2579 | makegloo(cactus.Torso, RightShoulderC0, RightShoulderC1, cactus.Torso, cactus["Right Arm"], "Right Shoulder") | |
| 2580 | maketouchy(cactus["Right Arm"], cactus["Right Arm"], CFrame.new(0, 0.5, 0)) | |
| 2581 | end | |
| 2582 | if cactus["Left Arm"]~=nil and cactus.Torso:FindFirstChild("Left Shoulder") then
| |
| 2583 | cactus.Torso:FindFirstChild("Left Shoulder"):Destroy()
| |
| 2584 | makegloo(cactus.Torso, LeftShoulderC0, LeftShoulderC1, cactus.Torso, cactus["Left Arm"], "Left Shoulder") | |
| 2585 | maketouchy(cactus["Left Arm"], cactus["Left Arm"], CFrame.new(0, 0.5, 0)) | |
| 2586 | end | |
| 2587 | if cactus["Right Leg"]~=nil and cactus.Torso:FindFirstChild("Right Hip") then
| |
| 2588 | cactus.Torso:FindFirstChild("Right Hip"):Destroy()
| |
| 2589 | makegloo(cactus.Torso, RightHipC0, RightHipC1, cactus.Torso, cactus["Right Leg"], "Right Hip") | |
| 2590 | maketouchy(cactus["Right Leg"], cactus["Right Leg"], CFrame.new(0, 0.5, 0)) | |
| 2591 | end | |
| 2592 | if cactus["Left Leg"]~=nil and cactus.Torso:FindFirstChild("Left Hip") then
| |
| 2593 | cactus.Torso:FindFirstChild("Left Hip"):Destroy()
| |
| 2594 | makegloo(cactus.Torso, LeftHipC0, LeftHipC1, cactus.Torso, cactus["Left Leg"], "Left Hip") | |
| 2595 | maketouchy(cactus["Left Leg"], cactus["Left Leg"], CFrame.new(0, 0.5, 0)) | |
| 2596 | end | |
| 2597 | end | |
| 2598 | function test() | |
| 2599 | if selected == false or activu == true then | |
| 2600 | return | |
| 2601 | end | |
| 2602 | if ragged == false then | |
| 2603 | ragged = true | |
| 2604 | human.PlatformStand = true | |
| 2605 | if rarm and tors:FindFirstChild("Right Shoulder") then
| |
| 2606 | tors:FindFirstChild("Right Shoulder"):Destroy()
| |
| 2607 | makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder") | |
| 2608 | maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0)) | |
| 2609 | end | |
| 2610 | if larm and tors:FindFirstChild("Left Shoulder") then
| |
| 2611 | tors:FindFirstChild("Left Shoulder"):Destroy()
| |
| 2612 | makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder") | |
| 2613 | maketouchy(larm, larm, CFrame.new(0, 0.5, 0)) | |
| 2614 | end | |
| 2615 | if rleg and tors:FindFirstChild("Right Hip") then
| |
| 2616 | tors:FindFirstChild("Right Hip"):Destroy()
| |
| 2617 | makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip") | |
| 2618 | maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0)) | |
| 2619 | end | |
| 2620 | if lleg and tors:FindFirstChild("Left Hip") then
| |
| 2621 | tors:FindFirstChild("Left Hip"):Destroy()
| |
| 2622 | makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip") | |
| 2623 | maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0)) | |
| 2624 | end | |
| 2625 | local BP = Instance.new("BodyPosition",tors)BP.Position = Vector3.new(0,1000,0) BP.P = 50 BP.maxForce = Vector3.new(0,math.huge,0)
| |
| 2626 | local BG = Instance.new("BodyGyro",tors)BG.CFrame = CFrame.new(tors.Position, mouse.hit.p)BG.P = 10 BG.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
| |
| 2627 | elseif ragged == true then | |
| 2628 | ragged = false | |
| 2629 | human.Jump = true | |
| 2630 | if rarm and tors:FindFirstChild("Right Shoulder") then
| |
| 2631 | tors:FindFirstChild("Right Shoulder"):Destroy()
| |
| 2632 | makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder") | |
| 2633 | rarm:FindFirstChild("touchy"):Destroy()
| |
| 2634 | end | |
| 2635 | if larm and tors:FindFirstChild("Left Shoulder") then
| |
| 2636 | tors:FindFirstChild("Left Shoulder"):Destroy()
| |
| 2637 | makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder") | |
| 2638 | larm:FindFirstChild("touchy"):Destroy()
| |
| 2639 | end | |
| 2640 | if rleg and tors:FindFirstChild("Right Hip") then
| |
| 2641 | tors:FindFirstChild("Right Hip"):Destroy()
| |
| 2642 | makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip") | |
| 2643 | rleg:FindFirstChild("touchy"):Destroy()
| |
| 2644 | end | |
| 2645 | if lleg and tors:FindFirstChild("Left Hip") then
| |
| 2646 | tors:FindFirstChild("Left Hip"):Destroy()
| |
| 2647 | makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip") | |
| 2648 | lleg:FindFirstChild("touchy"):Destroy()
| |
| 2649 | end | |
| 2650 | if tors:findFirstChild("BodyPosition")~=nil then
| |
| 2651 | tors.BodyPosition:remove() | |
| 2652 | end | |
| 2653 | if tors:findFirstChild("BodyGyro")~=nil then
| |
| 2654 | tors.BodyGyro:remove() | |
| 2655 | end | |
| 2656 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 2657 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 2658 | RH = tors:FindFirstChild("Right Hip")
| |
| 2659 | LH = tors:FindFirstChild("Left Hip")
| |
| 2660 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 2661 | N = tors:FindFirstChild("Neck")
| |
| 2662 | end | |
| 2663 | end | |
| 2664 | function makegloo(paren, co, ci, parto, parti, nam) | |
| 2665 | local gloo = Instance.new("Glue")
| |
| 2666 | gloo.Name = nam | |
| 2667 | gloo.C0 = co | |
| 2668 | gloo.C1 = ci | |
| 2669 | gloo.Part0 = parto | |
| 2670 | gloo.Part1 = parti | |
| 2671 | gloo.Parent = paren | |
| 2672 | end | |
| 2673 | function makejoint(paren, co, ci, parto, parti, nam) | |
| 2674 | local gloo = Instance.new("Motor6D")
| |
| 2675 | gloo.Name = nam | |
| 2676 | gloo.C0 = co | |
| 2677 | gloo.C1 = ci | |
| 2678 | gloo.Part0 = parto | |
| 2679 | gloo.Part1 = parti | |
| 2680 | gloo.Parent = paren | |
| 2681 | end | |
| 2682 | function maketouchy(parent, limb, cframe) | |
| 2683 | local pr = Instance.new("Part")
| |
| 2684 | pr.Name = "touchy" | |
| 2685 | pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 2686 | pr.Transparency = 1 | |
| 2687 | pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) | |
| 2688 | pr.CanCollide = true | |
| 2689 | pr.Anchored = false | |
| 2690 | pr.Parent = parent | |
| 2691 | local w = Instance.new("Weld")
| |
| 2692 | w.Part0 = pr | |
| 2693 | w.Part1 = limb | |
| 2694 | w.C0 = cframe | |
| 2695 | w.Parent = pr | |
| 2696 | end | |
| 2697 | local clibat, spec | |
| 2698 | local dipperhat = chr:FindFirstChild("DXD_DipperHat")
| |
| 2699 | local dipperrot | |
| 2700 | if dipperhat then | |
| 2701 | dipperrot = dipperhat.Handle.HatAttachment.Rotation | |
| 2702 | end | |
| 2703 | ||
| 2704 | function epic() | |
| 2705 | if Music == false then | |
| 2706 | Music = true | |
| 2707 | local sond = Instance.new("Sound",tors)
| |
| 2708 | sond.Volume = 10 | |
| 2709 | sond.Pitch = 1 | |
| 2710 | sond.EmitterSize = 25 | |
| 2711 | sond.Name = "Music" | |
| 2712 | sond.Looped = true | |
| 2713 | sond.SoundId = "rbxassetid://403606225" | |
| 2714 | sond:Play() | |
| 2715 | fire.Enabled = true | |
| 2716 | else | |
| 2717 | tors:findFirstChild("Music"):remove()
| |
| 2718 | Music = false | |
| 2719 | fire.Enabled = false | |
| 2720 | end | |
| 2721 | end | |
| 2722 | ||
| 2723 | function Bloodthirst() | |
| 2724 | if Music == false and Berserk == false then | |
| 2725 | Music = true | |
| 2726 | Berserk = true | |
| 2727 | local sond = Instance.new("Sound",tors)
| |
| 2728 | sond.Volume = 5 | |
| 2729 | sond.Pitch = 1 | |
| 2730 | sond.EmitterSize = 25 | |
| 2731 | sond.Name = "Music" | |
| 2732 | sond.Looped = true | |
| 2733 | sond.SoundId = "rbxassetid://147156924" | |
| 2734 | sond:Play() | |
| 2735 | for i = 1,25 do | |
| 2736 | for i2 = 1,i do | |
| 2737 | local ra = math.random(4,14)/10 | |
| 2738 | local p23 = Instance.new("Part",Maedl)p23.Size = Vector3.new(ra,ra,ra)p23.Material = "Neon" p23.BrickColor = BrickColor.new("White") p23.CanCollide = false
| |
| 2739 | p23.CFrame = chr.HumanoidRootPart.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.random(-90,90),math.random(-90,90),math.random(-90,90)) | |
| 2740 | p23.Anchored = true local B23 = Instance.new("BlockMesh",p23)
| |
| 2741 | end | |
| 2742 | wait() | |
| 2743 | end | |
| 2744 | for i,v in pairs (Maedl:children()) do | |
| 2745 | v.Anchored = false | |
| 2746 | local BP = Instance.new("BodyPosition",v)BP.P = 100000 BP.maxForce = Vector3.new(math.huge,math.huge,math.huge)v:findFirstChild("BodyPosition").Position = tors.Position
| |
| 2747 | end | |
| 2748 | wait(1) | |
| 2749 | for i,v in pairs (Maedl:children()) do | |
| 2750 | v:findFirstChild("BodyPosition").maxForce = Vector3.new(20000,20000,20000)
| |
| 2751 | v:findFirstChild("BodyPosition").Position = tors.Position+Vector3.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000))
| |
| 2752 | v:findFirstChild("Mesh").Scale = Vector3.new(12,12,12)game.Debris:AddItem(v,0.4)
| |
| 2753 | end | |
| 2754 | local Blood = Instance.new("ParticleEmitter", tors)
| |
| 2755 | Blood.Enabled = false | |
| 2756 | Blood.Lifetime = NumberRange.new(0.4) | |
| 2757 | Blood.RotSpeed = NumberRange.new(0) | |
| 2758 | Blood.Acceleration = Vector3.new(0,-10,0) | |
| 2759 | Blood.Rate = 100 | |
| 2760 | Blood.VelocitySpread = 360 | |
| 2761 | Blood.Rotation = NumberRange.new(-360,360) | |
| 2762 | Blood.Name = "Blood" | |
| 2763 | Blood.LightEmission = 3 | |
| 2764 | Blood.LockedToPart = true | |
| 2765 | Blood.Texture = "http://www.roblox.com/asset/?id=513989292" | |
| 2766 | Blood.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 7), NumberSequenceKeypoint.new(1, 0)})
| |
| 2767 | Blood.ZOffset = 4 Blood.Enabled = true | |
| 2768 | Blood.Enabled = true | |
| 2769 | else | |
| 2770 | tors:findFirstChild("Music"):remove()
| |
| 2771 | Music = false | |
| 2772 | Berserk = false | |
| 2773 | tors:findFirstChild("Blood").Enabled = false
| |
| 2774 | end | |
| 2775 | end | |
| 2776 | ||
| 2777 | function bat() | |
| 2778 | if selected == false or activu == true then | |
| 2779 | return | |
| 2780 | end | |
| 2781 | if batting == false then | |
| 2782 | batting = true | |
| 2783 | do | |
| 2784 | local bmod = Instance.new("Model")
| |
| 2785 | bmod.Name = "bmodel" | |
| 2786 | bmod.Parent = chr | |
| 2787 | local hnd = makepart("Brown", "hnd", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 2788 | local hmes = makemesh("Head", Vector3.new(1, 9, 1), nil, hnd)
| |
| 2789 | local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
| 2790 | local pt1 = makepart("White", "pt1", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 2791 | local p1m = makemesh("Head", Vector3.new(1.5, 1.5, 1.5), nil, pt1)
| |
| 2792 | local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
| 2793 | local pt2 = makepart("White", "pt2", 0, 1, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 2794 | local p2m = makemesh("FileMesh", Vector3.new(0.375, 0.375, 0.375), "rbxassetid://250640098", pt2)
| |
| 2795 | p2m.TextureId = "rbxassetid://250639536" | |
| 2796 | local p2w = makeweld(pt2, pt2, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), nil) | |
| 2797 | local pt3 = makepart("White", "pt3", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 2798 | local p3m = makemesh("Head", Vector3.new(1.5, 1.5, 1.5), nil, pt3)
| |
| 2799 | local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil) | |
| 2800 | local pt4 = makepart("White", "pt4", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 2801 | local p4m = makemesh("FileMesh", Vector3.new(0.025, 0.025, 0.025), "rbxassetid://703458158", pt4)
| |
| 2802 | local p4w = makeweld(pt4, pt4, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), nil) | |
| 2803 | local pt5 = makepart("White", "pt5", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 2804 | local p5m = makemesh("Cylinder", Vector3.new(21.5, 3.125, 3.125), nil, pt5)
| |
| 2805 | local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil) | |
| 2806 | local pt6 = makepart("White", "pt6", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 2807 | local p6m = makemesh("Head", Vector3.new(3.25, 3.25, 3.25), nil, pt6)
| |
| 2808 | local p6w = makeweld(pt6, pt6, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), nil) | |
| 2809 | local pt7 = makepart("White", "pt7", 0, 1, "SmoothPlastic", bmod, rarm.CFrame)
| |
| 2810 | local p7m = makemesh("FileMesh", Vector3.new(0.95, 0.95, 0.95), "rbxassetid://272942659", pt7)
| |
| 2811 | p7m.TextureId = "rbxassetid://272942750" | |
| 2812 | local p7w = makeweld(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), nil) | |
| 2813 | local pt8 = Instance.new("Part",chr)pt8.Transparency =1 pt8.CanCollide = false pt8.Anchored = false pt8.Size = Vector3.new(6,1,1)
| |
| 2814 | local w23 = Instance.new("Weld",pt8)w23.Part0 = pt8 w23.Part1 = pt5
| |
| 2815 | local swingwoo = Instance.new("Sound")
| |
| 2816 | swingwoo.SoundId = "rbxassetid://10209640" | |
| 2817 | swingwoo.Pitch = rd2(10, 11) / 10 | |
| 2818 | swingwoo.Name = "sweae" | |
| 2819 | swingwoo.Volume = 1 | |
| 2820 | swingwoo.Parent = hrp | |
| 2821 | clibat = tool.Activated:connect(function() | |
| 2822 | if selected == false or activu == true or ragged == true then | |
| 2823 | return | |
| 2824 | end | |
| 2825 | activu = true | |
| 2826 | if Combo == 1 then | |
| 2827 | for _ = 1, 2 do | |
| 2828 | swait() | |
| 2829 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 2830 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2831 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
| 2832 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2833 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 2834 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2835 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 2836 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2837 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 2838 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2839 | end | |
| 2840 | swingwoo:Play() | |
| 2841 | for X = 1, 4 do | |
| 2842 | swait() | |
| 2843 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)),25) | |
| 2844 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
| 2845 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2846 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 2847 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2848 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 2849 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2850 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 2851 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2852 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 2853 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2854 | end | |
| 2855 | Combo = 2 | |
| 2856 | elseif Combo == 2 then | |
| 2857 | for _ = 1, 2 do | |
| 2858 | swait() | |
| 2859 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(15), rd(25), rd(60)), 0.7) | |
| 2860 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2861 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(35), rd(-35), rd(179)), 0.7) | |
| 2862 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2863 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-35), rd(35), rd(30)), 0.7) | |
| 2864 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2865 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 2866 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2867 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-35), rd(-110)), 0.7) | |
| 2868 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2869 | end | |
| 2870 | swingwoo:Play() | |
| 2871 | for X = 1, 4 do | |
| 2872 | swait() | |
| 2873 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)), 25) | |
| 2874 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(78), rd(-15), rd(-45)), 0.7) | |
| 2875 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2876 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(15), rd(35)), 0.7) | |
| 2877 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2878 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-120), rd(15), rd(25)), 0.7) | |
| 2879 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2880 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-35), rd(80)), 0.7) | |
| 2881 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2882 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 2883 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2884 | end | |
| 2885 | Combo = 3 | |
| 2886 | elseif Combo == 3 then | |
| 2887 | for _ = 1, 2 do | |
| 2888 | swait() | |
| 2889 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(0), rd(25), rd(0)), 0.7) | |
| 2890 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-56), rd(0), rd(0)), 0.7) | |
| 2891 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-25), rd(199)), 0.7) | |
| 2892 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2893 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-35), rd(35), rd(30)), 0.7) | |
| 2894 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2895 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 2896 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2897 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-35), rd(-110)), 0.7) | |
| 2898 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2899 | end | |
| 2900 | swingwoo:Play() | |
| 2901 | for X = 1, 4 do | |
| 2902 | swait() | |
| 2903 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)), 25) | |
| 2904 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(0), rd(-15), rd(0)), 0.7) | |
| 2905 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2906 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(15), rd(35)), 0.7) | |
| 2907 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2908 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-120), rd(15), rd(25)), 0.7) | |
| 2909 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2910 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-35), rd(80)), 0.7) | |
| 2911 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2912 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 2913 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2914 | end | |
| 2915 | Combo = 4 | |
| 2916 | else Combo = 1 | |
| 2917 | for _ = 1, 2 do | |
| 2918 | swait() | |
| 2919 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(20), rd(10), rd(-40)), 0.7) | |
| 2920 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2921 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(129)), 0.7) | |
| 2922 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2923 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(40), rd(40), rd(20)), 0.7) | |
| 2924 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2925 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 2926 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2927 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 2928 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2929 | end | |
| 2930 | swingwoo:Play() | |
| 2931 | for X = 1, 4 do | |
| 2932 | swait() | |
| 2933 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)), 1) | |
| 2934 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(10), rd(-30)), 0.7) | |
| 2935 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2936 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 2937 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2938 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 2939 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2940 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 2941 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2942 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 2943 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 2944 | end | |
| 2945 | end | |
| 2946 | activu = false | |
| 2947 | end) | |
| 2948 | spec = mouse.KeyDown:connect(function(keya) | |
| 2949 | if selected == false or activu == true or ragged == true then | |
| 2950 | return | |
| 2951 | end | |
| 2952 | ||
| 2953 | if keya == "e" then | |
| 2954 | activu = true | |
| 2955 | local speed = human.WalkSpeed | |
| 2956 | human.WalkSpeed = 0 | |
| 2957 | human:SetStateEnabled(3, false) | |
| 2958 | local function expa() | |
| 2959 | if Berserk == false then | |
| 2960 | for _ = 1, 3 do | |
| 2961 | swait() | |
| 2962 | hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7) | |
| 2963 | p1m.Scale = p1m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
| 2964 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), 0.7) | |
| 2965 | p2m.Scale = p2m.Scale:lerp(Vector3.new(1.125, 1.125, 1.125), 0.7) | |
| 2966 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 3.6750000000000003, 0.22499999999999998), 0.7) | |
| 2967 | p3m.Scale = p3m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
| 2968 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7) | |
| 2969 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.07500000000000001, 0.07500000000000001, 0.07500000000000001), 0.7) | |
| 2970 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -3.75, 0), 0.7) | |
| 2971 | p5m.Scale = p5m.Scale:lerp(Vector3.new(64.5, 18.75, 18.75), 0.7) | |
| 2972 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -12.075000000000001, 0), 0.7) | |
| 2973 | p6m.Scale = p6m.Scale:lerp(Vector3.new(19.5, 19.5, 19.5), 0.7) | |
| 2974 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -18.15, 0), 0.7) | |
| 2975 | p7m.Scale = p7m.Scale:lerp(Vector3.new(2.8499999999999996, 2.8499999999999996, 2.8499999999999996), 0.7) | |
| 2976 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -18.6, 0), 0.7) | |
| 2977 | end | |
| 2978 | for _ = 1, 5 do | |
| 2979 | swait() | |
| 2980 | hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7) | |
| 2981 | p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
| 2982 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7) | |
| 2983 | p2m.Scale = p2m.Scale:lerp(Vector3.new(0.75, 0.75, 0.75), 0.7) | |
| 2984 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 2.45, 0.15), 0.7) | |
| 2985 | p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
| 2986 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7) | |
| 2987 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7) | |
| 2988 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7) | |
| 2989 | p5m.Scale = p5m.Scale:lerp(Vector3.new(43, 12.5, 12.5), 0.7) | |
| 2990 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7) | |
| 2991 | p6m.Scale = p6m.Scale:lerp(Vector3.new(13, 13, 13), 0.7) | |
| 2992 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -12.1, 0), 0.7) | |
| 2993 | p7m.Scale = p7m.Scale:lerp(Vector3.new(1.9, 1.9, 1.9), 0.7) | |
| 2994 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -12.4, 0), 0.7) | |
| 2995 | end | |
| 2996 | for _ = 1, 3 do | |
| 2997 | swait() | |
| 2998 | hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7) | |
| 2999 | p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
| 3000 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7) | |
| 3001 | p2m.Scale = p2m.Scale:lerp(Vector3.new(2.25, 2.25, 2.25), 0.7) | |
| 3002 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 7.3500000000000005, 0.44999999999999996), 0.7) | |
| 3003 | p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
| 3004 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7) | |
| 3005 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7) | |
| 3006 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7) | |
| 3007 | p5m.Scale = p5m.Scale:lerp(Vector3.new(129, 37.5, 37.5), 0.7) | |
| 3008 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7) | |
| 3009 | p6m.Scale = p6m.Scale:lerp(Vector3.new(39, 39, 39), 0.7) | |
| 3010 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -36.3, 0), 0.7) | |
| 3011 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 5.699999999999999, 5.699999999999999), 0.7) | |
| 3012 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -37.2, 0), 0.7) | |
| 3013 | end | |
| 3014 | for _ = 1, 5 do | |
| 3015 | swait() | |
| 3016 | hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7) | |
| 3017 | p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 3018 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7) | |
| 3019 | p2m.Scale = p2m.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.7) | |
| 3020 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 4.9, 0.3), 0.7) | |
| 3021 | p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 3022 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7) | |
| 3023 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7) | |
| 3024 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7) | |
| 3025 | p5m.Scale = p5m.Scale:lerp(Vector3.new(86, 25, 25), 0.7) | |
| 3026 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7) | |
| 3027 | p6m.Scale = p6m.Scale:lerp(Vector3.new(26, 26, 26), 0.7) | |
| 3028 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -24.2, 0), 0.7) | |
| 3029 | p7m.Scale = p7m.Scale:lerp(Vector3.new(3.8, 3.8, 3.8), 0.7) | |
| 3030 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -24.8, 0), 0.7) | |
| 3031 | end | |
| 3032 | for _ = 1, 3 do | |
| 3033 | swait() | |
| 3034 | hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7) | |
| 3035 | p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
| 3036 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7) | |
| 3037 | p2m.Scale = p2m.Scale:lerp(Vector3.new(3.375, 3.375, 3.375), 0.7) | |
| 3038 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 11.025, 0.6749999999999999), 0.7) | |
| 3039 | p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
| 3040 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7) | |
| 3041 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7) | |
| 3042 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7) | |
| 3043 | p5m.Scale = p5m.Scale:lerp(Vector3.new(193.5, 56.25, 56.25), 0.7) | |
| 3044 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7) | |
| 3045 | p6m.Scale = p6m.Scale:lerp(Vector3.new(58.5, 58.5, 58.5), 0.7) | |
| 3046 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -54.449999999999996, 0), 0.7) | |
| 3047 | p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 8.549999999999999, 8.549999999999999), 0.7) | |
| 3048 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -55.800000000000004, 0), 0.7) | |
| 3049 | end | |
| 3050 | for _ = 1, 5 do | |
| 3051 | swait() | |
| 3052 | hmes.Scale = hmes.Scale:lerp(Vector3.new(14*2.5, 63*2.5, 14*2.5), 0.7) | |
| 3053 | p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5*2.5, 17.5*2.5, 17.5*2.5), 0.7) | |
| 3054 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7*2.5, 0), 0.7) | |
| 3055 | p2m.Scale = p2m.Scale:lerp(Vector3.new(2.625*2.5, 2.625*2.5, 2.625*2.5), 0.7) | |
| 3056 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 8.575000000000001*2.5, 0.525*2.5), 0.7) | |
| 3057 | p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5*2.5, 17.5*2.5, 17.5*2.5), 0.7) | |
| 3058 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7*2.5, 0), 0.7) | |
| 3059 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002*2.5, 0.17500000000000002*2.5, 0.17500000000000002*2.5), 0.7) | |
| 3060 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75*2.5, 0), 0.7) | |
| 3061 | p5m.Scale = p5m.Scale:lerp(Vector3.new(150.5*2.5, 43.75*2.5, 43.75*2.5), 0.7) | |
| 3062 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -28.175000000000004*2.5, 0), 0.7) | |
| 3063 | p6m.Scale = p6m.Scale:lerp(Vector3.new(45.5*2.5, 45.5*2.5, 45.5*2.5), 0.7) | |
| 3064 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -42.35*2.5, 0), 0.7) | |
| 3065 | p7m.Scale = p7m.Scale:lerp(Vector3.new(6.6499999999999995*2.5, 6.6499999999999995*2.5, 6.6499999999999995*2.5), 0.7) | |
| 3066 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -43.4*2.5, 0), 0.7) | |
| 3067 | end | |
| 3068 | end | |
| 3069 | end | |
| 3070 | for _ = 1, 9 do | |
| 3071 | swait() | |
| 3072 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
| 3073 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
| 3074 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
| 3075 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3076 | lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5) | |
| 3077 | if dipperhat then | |
| 3078 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3) | |
| 3079 | end | |
| 3080 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3081 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
| 3082 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3083 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
| 3084 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3085 | end | |
| 3086 | for _ = 1, 9 do | |
| 3087 | swait() | |
| 3088 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
| 3089 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
| 3090 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
| 3091 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3092 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3) | |
| 3093 | if dipperhat then | |
| 3094 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3) | |
| 3095 | end | |
| 3096 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3097 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
| 3098 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3099 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
| 3100 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3101 | end | |
| 3102 | for _ = 1, 30 do | |
| 3103 | swait() | |
| 3104 | lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2) | |
| 3105 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2) | |
| 3106 | lerpz(RS, "C0", RSC0 * cf(0, -0.4, 0.2) * ang(rd(85), rd(0), rd(85)), 0.2) | |
| 3107 | lerpz(RS, "C1", RSC1 * cf(0, -0.4, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 3108 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2) | |
| 3109 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 3110 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2) | |
| 3111 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 3112 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2) | |
| 3113 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 3114 | end | |
| 3115 | expa() | |
| 3116 | for O = 1, 10 do | |
| 3117 | swait() | |
| 3118 | lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01) | |
| 3119 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01) | |
| 3120 | lerpz(RS, "C0", RSC0 * cf(0, -0.4, 0.2) * ang(rd(85), rd(0), rd(85)), 0.001 + O * 0.01) | |
| 3121 | lerpz(RS, "C1", RSC1 * cf(0, -0.4, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 3122 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01) | |
| 3123 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 3124 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01) | |
| 3125 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 3126 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01) | |
| 3127 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 3128 | end | |
| 3129 | local whoooo = Instance.new("Sound")
| |
| 3130 | whoooo.Volume = 3 | |
| 3131 | whoooo.TimePosition = 0.15 | |
| 3132 | whoooo.Pitch = 0.5 | |
| 3133 | whoooo.SoundId = "rbxassetid://320557353" | |
| 3134 | whoooo.Parent = pt5 | |
| 3135 | whoooo:Play() | |
| 3136 | game.Debris:AddItem(whoooo, 2) | |
| 3137 | if Berserk == true then | |
| 3138 | for O = 1, 75 do | |
| 3139 | swait() | |
| 3140 | local O2 = O*0.015 | |
| 3141 | hito3(pt5, 25, 40, 0.75, hrp.CFrame.rightVector * -450 + Vector3.new(0, 200, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160)), 25) | |
| 3142 | lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(60*O*(O2/2))), 0.1 + O * 0.02) | |
| 3143 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.02) | |
| 3144 | lerpz(RS, "C0", RSC0 * cf(0, -0.4, 0.2) * ang(rd(85), rd(0), rd(35)), 0.1 + O * 0.02) | |
| 3145 | lerpz(RS, "C1", RSC1 * cf(0, -0.4, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.02) | |
| 3146 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.02) | |
| 3147 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.02) | |
| 3148 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.02) | |
| 3149 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.02) | |
| 3150 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.02) | |
| 3151 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.02) | |
| 3152 | hmes.Scale = hmes.Scale:lerp(Vector3.new(14*O2, 63*O2, 14*O2), 0.7) | |
| 3153 | p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5*O2, 17.5*O2, 17.5*O2), 0.7) | |
| 3154 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7*O2, 0), 0.7) | |
| 3155 | p2m.Scale = p2m.Scale:lerp(Vector3.new(2.625*O2, 2.625*O2, 2.625*O2), 0.7) | |
| 3156 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 8.575000000000001*O2, 0.525*O2), 0.7) | |
| 3157 | p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5*O2, 17.5*O2, 17.5*O2), 0.7) | |
| 3158 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7*O2, 0), 0.7) | |
| 3159 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002*O2, 0.17500000000000002*O2, 0.17500000000000002*O2), 0.7) | |
| 3160 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75*O2, 0), 0.7) | |
| 3161 | p5m.Scale = p5m.Scale:lerp(Vector3.new(150.5*O2, 43.75*O2, 43.75*O2), 0.7) | |
| 3162 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -28.175000000000004*O2, 0), 0.7) | |
| 3163 | p6m.Scale = p6m.Scale:lerp(Vector3.new(45.5*O2, 45.5*O2, 45.5*O2), 0.7) | |
| 3164 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -42.35*O2, 0), 0.7) | |
| 3165 | p7m.Scale = p7m.Scale:lerp(Vector3.new(6.6499999999999995*O2, 6.6499999999999995*O2, 6.6499999999999995*O2), 0.7) | |
| 3166 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -43.4*O2, 0), 0.7) | |
| 3167 | wait() | |
| 3168 | end | |
| 3169 | else | |
| 3170 | for O = 1, 6 do | |
| 3171 | swait() | |
| 3172 | hito(pt5, 25, 40, 0.75, hrp.CFrame.rightVector * -450 + Vector3.new(0, 200, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160)), 25) | |
| 3173 | lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05) | |
| 3174 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05) | |
| 3175 | lerpz(RS, "C0", RSC0 * cf(0, -0.4, 0.2) * ang(rd(85), rd(0), rd(35)), 0.1 + O * 0.05) | |
| 3176 | lerpz(RS, "C1", RSC1 * cf(0, -0.4, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 3177 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05) | |
| 3178 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 3179 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05) | |
| 3180 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 3181 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05) | |
| 3182 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 3183 | end | |
| 3184 | end | |
| 3185 | for O = 1, 13 do | |
| 3186 | swait() | |
| 3187 | hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075) | |
| 3188 | p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 3189 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075) | |
| 3190 | p2m.Scale = p2m.Scale:lerp(Vector3.new(0.375, 0.375, 0.375), 0.05 + O * 0.075) | |
| 3191 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), 0.05 + O * 0.075) | |
| 3192 | p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 3193 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075) | |
| 3194 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075) | |
| 3195 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075) | |
| 3196 | p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 6.25, 6.25), 0.05 + O * 0.075) | |
| 3197 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075) | |
| 3198 | p6m.Scale = p6m.Scale:lerp(Vector3.new(6.5, 6.5, 6.5), 0.05 + O * 0.075) | |
| 3199 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), 0.05 + O * 0.075) | |
| 3200 | p7m.Scale = p7m.Scale:lerp(Vector3.new(0.95, 0.95, 0.95), 0.05 + O * 0.075) | |
| 3201 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), 0.05 + O * 0.075) | |
| 3202 | lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075) | |
| 3203 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075) | |
| 3204 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075) | |
| 3205 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 3206 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075) | |
| 3207 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 3208 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075) | |
| 3209 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 3210 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075) | |
| 3211 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 3212 | end | |
| 3213 | if dipperhat then | |
| 3214 | dipperhat.Handle.HatAttachment.Rotation = dipperrot | |
| 3215 | end | |
| 3216 | human.WalkSpeed = speed | |
| 3217 | human:SetStateEnabled(3, true) | |
| 3218 | activu = false | |
| 3219 | end | |
| 3220 | if keya == "q" then | |
| 3221 | activu = true | |
| 3222 | do | |
| 3223 | local checkkey = true | |
| 3224 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 3225 | if xzx == "q" then | |
| 3226 | checkkey = false | |
| 3227 | end | |
| 3228 | end) | |
| 3229 | repeat | |
| 3230 | if Berserk == true then | |
| 3231 | for _ = 1, 5 do | |
| 3232 | swait() | |
| 3233 | hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7) | |
| 3234 | p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 3235 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7) | |
| 3236 | p2m.Scale = p2m.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.7) | |
| 3237 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 4.9, 0.3), 0.7) | |
| 3238 | p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 3239 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7) | |
| 3240 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7) | |
| 3241 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7) | |
| 3242 | p5m.Scale = p5m.Scale:lerp(Vector3.new(86, 25, 25), 0.7) | |
| 3243 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7) | |
| 3244 | p6m.Scale = p6m.Scale:lerp(Vector3.new(26, 26, 26), 0.7) | |
| 3245 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -24.2, 0), 0.7) | |
| 3246 | p7m.Scale = p7m.Scale:lerp(Vector3.new(3.8, 3.8, 3.8), 0.7) | |
| 3247 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -24.8, 0), 0.7) | |
| 3248 | end | |
| 3249 | for _ = 1, 6 do | |
| 3250 | swait() | |
| 3251 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 3252 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3253 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
| 3254 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3255 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 3256 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3257 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 3258 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3259 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 3260 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3261 | end | |
| 3262 | swingwoo:Play() | |
| 3263 | for X = 1, 6 do | |
| 3264 | swait() | |
| 3265 | hito3(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40))) | |
| 3266 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(0), rd(10)), 0.7) | |
| 3267 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3268 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 3269 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3270 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 3271 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3272 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 3273 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3274 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 3275 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3276 | wait() | |
| 3277 | end | |
| 3278 | for O = 1, 13 do | |
| 3279 | swait() | |
| 3280 | hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075) | |
| 3281 | p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 3282 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075) | |
| 3283 | p2m.Scale = p2m.Scale:lerp(Vector3.new(0.375, 0.375, 0.375), 0.05 + O * 0.075) | |
| 3284 | p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), 0.05 + O * 0.075) | |
| 3285 | p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 3286 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075) | |
| 3287 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075) | |
| 3288 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075) | |
| 3289 | p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 6.25, 6.25), 0.05 + O * 0.075) | |
| 3290 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075) | |
| 3291 | p6m.Scale = p6m.Scale:lerp(Vector3.new(6.5, 6.5, 6.5), 0.05 + O * 0.075) | |
| 3292 | p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), 0.05 + O * 0.075) | |
| 3293 | p7m.Scale = p7m.Scale:lerp(Vector3.new(0.95, 0.95, 0.95), 0.05 + O * 0.075) | |
| 3294 | p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), 0.05 + O * 0.075) | |
| 3295 | end | |
| 3296 | else | |
| 3297 | for _ = 1, 2 do | |
| 3298 | swait() | |
| 3299 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 3300 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 3301 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
| 3302 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3303 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 3304 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3305 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 3306 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3307 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 3308 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3309 | end | |
| 3310 | swingwoo:Play() | |
| 3311 | for T = 1, 2 do | |
| 3312 | swait() | |
| 3313 | hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)), 25) | |
| 3314 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
| 3315 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3316 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 3317 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3318 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 3319 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3320 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 3321 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3322 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 3323 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3324 | end | |
| 3325 | for _ = 1, 2 do | |
| 3326 | swait() | |
| 3327 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7) | |
| 3328 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 3329 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7) | |
| 3330 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3331 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7) | |
| 3332 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3333 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 3334 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3335 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7) | |
| 3336 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3337 | end | |
| 3338 | swingwoo:Play() | |
| 3339 | for T = 1, 2 do | |
| 3340 | swait() | |
| 3341 | if T == 2 then | |
| 3342 | hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)),25) | |
| 3343 | end | |
| 3344 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7) | |
| 3345 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 3346 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7) | |
| 3347 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3348 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 3349 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3350 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 3351 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3352 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7) | |
| 3353 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3354 | end | |
| 3355 | end | |
| 3356 | until not checkkey | |
| 3357 | keyingup:Disconnect() | |
| 3358 | activu = false | |
| 3359 | end | |
| 3360 | end | |
| 3361 | if keya == "f" then | |
| 3362 | activu = true | |
| 3363 | do | |
| 3364 | local speed = human.WalkSpeed | |
| 3365 | human.WalkSpeed = 10 | |
| 3366 | human:SetStateEnabled(3, false) | |
| 3367 | local checkkey = true | |
| 3368 | local chargecounter = 0 | |
| 3369 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 3370 | if xzx == "f" then | |
| 3371 | checkkey = false | |
| 3372 | end | |
| 3373 | end) | |
| 3374 | local firederp | |
| 3375 | for _ = 1, 8 do | |
| 3376 | swait() | |
| 3377 | hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 3378 | lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
| 3379 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
| 3380 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
| 3381 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3382 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
| 3383 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 3384 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
| 3385 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3386 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
| 3387 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
| 3388 | end | |
| 3389 | repeat | |
| 3390 | swait() | |
| 3391 | if Berserk == true then | |
| 3392 | chargecounter = chargecounter + 15 | |
| 3393 | else | |
| 3394 | chargecounter = chargecounter + 1 | |
| 3395 | end | |
| 3396 | lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.002) | |
| 3397 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.002) | |
| 3398 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.002) | |
| 3399 | if chargecounter > 100 and firederp == nil then | |
| 3400 | P = fire:clone()P.Parent = pt8 P.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
| |
| 3401 | P.Speed = NumberRange.new(5,10)P.Enabled = true P.Lifetime = NumberRange.new(0.8)P.ZOffset = 2 | |
| 3402 | firederp = true | |
| 3403 | end | |
| 3404 | until not checkkey or chargecounter > 450 | |
| 3405 | swingwoo:Play() | |
| 3406 | for U = 1, 10 do | |
| 3407 | swait() | |
| 3408 | hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 1) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 40)),chargecounter) | |
| 3409 | if chargecounter > 300 then | |
| 3410 | tagexplode(pt5, 25, 5) | |
| 3411 | elseif chargecounter > 200 then | |
| 3412 | tagexplode(pt5, 20, 4) | |
| 3413 | elseif chargecounter > 100 then | |
| 3414 | tagexplode(pt5, 10, 2) | |
| 3415 | elseif chargecounter > 50 then | |
| 3416 | tagexplode(pt5, 5, 1) | |
| 3417 | end | |
| 3418 | if firederp == true then | |
| 3419 | pt8:findFirstChild("Fire"):remove()
| |
| 3420 | firederp = nil | |
| 3421 | end | |
| 3422 | hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 3423 | lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
| 3424 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
| 3425 | lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
| 3426 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
| 3427 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
| 3428 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
| 3429 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
| 3430 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 3431 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
| 3432 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
| 3433 | end | |
| 3434 | swait(10) | |
| 3435 | hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
| 3436 | keyingup:Disconnect() | |
| 3437 | human.WalkSpeed = speed | |
| 3438 | human:SetStateEnabled(3, true) | |
| 3439 | activu = false | |
| 3440 | end | |
| 3441 | end | |
| 3442 | if keya == "h" then | |
| 3443 | activu = true | |
| 3444 | do | |
| 3445 | local speed = human.WalkSpeed | |
| 3446 | human.WalkSpeed = 10 | |
| 3447 | human:SetStateEnabled(3, false) | |
| 3448 | local checkkey = true | |
| 3449 | local chargecounter = 0 | |
| 3450 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 3451 | if xzx == "h" then | |
| 3452 | checkkey = false | |
| 3453 | end | |
| 3454 | end) | |
| 3455 | local firederp | |
| 3456 | for _ = 1, 8 do | |
| 3457 | swait() | |
| 3458 | hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 3459 | lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
| 3460 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
| 3461 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
| 3462 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3463 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
| 3464 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 3465 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
| 3466 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3467 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
| 3468 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
| 3469 | end | |
| 3470 | repeat | |
| 3471 | swait() | |
| 3472 | if Berserk == true then | |
| 3473 | chargecounter = chargecounter + 10 | |
| 3474 | else | |
| 3475 | chargecounter = chargecounter + 1 | |
| 3476 | end | |
| 3477 | Lightningz(pt8.Position+Vector3.new(math.random(-chargecounter/100,chargecounter/100),math.random(-chargecounter/100,chargecounter/100),math.random((-chargecounter*6)/100,(chargecounter*6)/100)), pt8.Position+Vector3.new(math.random(-chargecounter/100,chargecounter/100),math.random(-chargecounter/100,chargecounter/100),math.random((-chargecounter*6)/100,(chargecounter*6)/100)), 0.05, 8, game.Workspace) | |
| 3478 | lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.002) | |
| 3479 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.002) | |
| 3480 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.002) | |
| 3481 | until not checkkey or chargecounter > 450 | |
| 3482 | swingwoo:Play() | |
| 3483 | for U = 1, 10 do | |
| 3484 | swait() | |
| 3485 | hito4(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 1) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 40)),chargecounter) | |
| 3486 | if chargecounter > 300 then | |
| 3487 | tagexplode(pt5, 25, 5) | |
| 3488 | elseif chargecounter > 200 then | |
| 3489 | tagexplode(pt5, 20, 4) | |
| 3490 | elseif chargecounter > 100 then | |
| 3491 | tagexplode(pt5, 10, 2) | |
| 3492 | elseif chargecounter > 50 then | |
| 3493 | tagexplode(pt5, 5, 1) | |
| 3494 | end | |
| 3495 | if firederp == true then | |
| 3496 | pt8:findFirstChild("Fire"):remove()
| |
| 3497 | firederp = nil | |
| 3498 | end | |
| 3499 | hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 3500 | lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
| 3501 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
| 3502 | lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
| 3503 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
| 3504 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
| 3505 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
| 3506 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
| 3507 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 3508 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
| 3509 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
| 3510 | end | |
| 3511 | swait(10) | |
| 3512 | hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
| 3513 | keyingup:Disconnect() | |
| 3514 | human.WalkSpeed = speed | |
| 3515 | human:SetStateEnabled(3, true) | |
| 3516 | activu = false | |
| 3517 | end | |
| 3518 | end | |
| 3519 | if keya == "t" then | |
| 3520 | activu = true | |
| 3521 | do | |
| 3522 | local speed = human.WalkSpeed | |
| 3523 | human.WalkSpeed = 10 | |
| 3524 | human:SetStateEnabled(3, false) | |
| 3525 | local checkkey = true | |
| 3526 | local chargecounter = 0 | |
| 3527 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 3528 | if xzx == "t" then | |
| 3529 | checkkey = false | |
| 3530 | end | |
| 3531 | end) | |
| 3532 | local firederp | |
| 3533 | for _ = 1, 8 do | |
| 3534 | swait() | |
| 3535 | hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 3536 | lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
| 3537 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
| 3538 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
| 3539 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3540 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
| 3541 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 3542 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
| 3543 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 3544 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
| 3545 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
| 3546 | end | |
| 3547 | repeat | |
| 3548 | swait() | |
| 3549 | if Berserk == true then | |
| 3550 | chargecounter = chargecounter + 15 | |
| 3551 | else | |
| 3552 | chargecounter = chargecounter + 1 | |
| 3553 | end | |
| 3554 | lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.002) | |
| 3555 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.002) | |
| 3556 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.002) | |
| 3557 | if chargecounter > 100 and firederp == nil then | |
| 3558 | P = fire:clone()P.Parent = pt8 P.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
| |
| 3559 | P.Speed = NumberRange.new(5,10)P.Enabled = true P.Lifetime = NumberRange.new(0.8)P.ZOffset = 2 | |
| 3560 | firederp = true | |
| 3561 | end | |
| 3562 | until not checkkey or chargecounter > 450 | |
| 3563 | swingwoo:Play() | |
| 3564 | for U = 1, 10 do | |
| 3565 | swait() | |
| 3566 | hito2(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 1) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 40)), 1) | |
| 3567 | if chargecounter > 300 then | |
| 3568 | tagexplode(pt5, 25, 5) | |
| 3569 | elseif chargecounter > 200 then | |
| 3570 | tagexplode(pt5, 20, 4) | |
| 3571 | elseif chargecounter > 100 then | |
| 3572 | tagexplode(pt5, 10, 2) | |
| 3573 | elseif chargecounter > 50 then | |
| 3574 | tagexplode(pt5, 5, 1) | |
| 3575 | end | |
| 3576 | if firederp == true then | |
| 3577 | pt8:findFirstChild("Fire"):remove()
| |
| 3578 | firederp = nil | |
| 3579 | end | |
| 3580 | hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 3581 | lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
| 3582 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
| 3583 | lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
| 3584 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
| 3585 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
| 3586 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
| 3587 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
| 3588 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 3589 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
| 3590 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
| 3591 | end | |
| 3592 | batting = false | |
| 3593 | clibat:Disconnect() | |
| 3594 | spec:Disconnect() | |
| 3595 | hrp.sweae:Destroy() | |
| 3596 | local batmod = chr:FindFirstChild("bmodel")
| |
| 3597 | batmod.hnd.Weld:Destroy() | |
| 3598 | batmod.PrimaryPart = batmod.hnd | |
| 3599 | batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
| 3600 | for _, A in pairs(batmod:GetChildren()) do | |
| 3601 | if A.ClassName == "Part" then | |
| 3602 | A.CanCollide = true | |
| 3603 | A.Anchored = false | |
| 3604 | end | |
| 3605 | end | |
| 3606 | batmod.Parent = workspace | |
| 3607 | game.Debris:AddItem(batmod, 8) | |
| 3608 | hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
| 3609 | keyingup:Disconnect() | |
| 3610 | human.WalkSpeed = speed | |
| 3611 | human:SetStateEnabled(3, true) | |
| 3612 | activu = false | |
| 3613 | end | |
| 3614 | end | |
| 3615 | end) | |
| 3616 | end | |
| 3617 | elseif batting == true then | |
| 3618 | batting = false | |
| 3619 | clibat:Disconnect() | |
| 3620 | spec:Disconnect() | |
| 3621 | hrp.sweae:Destroy() | |
| 3622 | local batmod = chr:FindFirstChild("bmodel")
| |
| 3623 | batmod.hnd.Weld:Destroy() | |
| 3624 | batmod.PrimaryPart = batmod.hnd | |
| 3625 | batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
| 3626 | for _, A in pairs(batmod:GetChildren()) do | |
| 3627 | if A.ClassName == "Part" then | |
| 3628 | A.CanCollide = true | |
| 3629 | A.Anchored = false | |
| 3630 | end | |
| 3631 | end | |
| 3632 | batmod.Parent = workspace | |
| 3633 | game.Debris:AddItem(batmod, 8) | |
| 3634 | end | |
| 3635 | end | |
| 3636 | local movin = false | |
| 3637 | local cliham, hamspec | |
| 3638 | function ham() | |
| 3639 | if batting == false then | |
| 3640 | batting = true | |
| 3641 | do | |
| 3642 | local bmod = Instance.new("Model")
| |
| 3643 | bmod.Name = "bmodel" | |
| 3644 | bmod.Parent = chr | |
| 3645 | local makemotor = function(parent, p0, p1, c0, c1) | |
| 3646 | local wel = Instance.new("Motor6D")
| |
| 3647 | wel.Part0 = p0 | |
| 3648 | wel.Part1 = p1 | |
| 3649 | wel.C0 = c0 | |
| 3650 | if c1 ~= nil then | |
| 3651 | wel.C1 = c1 | |
| 3652 | end | |
| 3653 | wel.Parent = parent | |
| 3654 | return wel | |
| 3655 | end | |
| 3656 | local hnd = makepart("Brown", "hnd", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3657 | hnd.Anchored = true | |
| 3658 | local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd)
| |
| 3659 | movin = true | |
| 3660 | hnd.CFrame = hrp.CFrame | |
| 3661 | coroutine.resume(coroutine.create(function() | |
| 3662 | while hnd.Anchored == true do | |
| 3663 | swait() | |
| 3664 | if movin then | |
| 3665 | hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65) | |
| 3666 | end | |
| 3667 | end | |
| 3668 | end)) | |
| 3669 | local pt1 = makepart("Brown", "pt1", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3670 | local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1)
| |
| 3671 | local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil) | |
| 3672 | local pt2 = makepart("Brown", "pt2", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3673 | local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2)
| |
| 3674 | local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil) | |
| 3675 | local pt3 = makepart("Magenta", "pt3", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3676 | local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3)
| |
| 3677 | local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil) | |
| 3678 | local pt4 = makepart("Brown", "pt4", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3679 | local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://250640098", pt4)
| |
| 3680 | p4m.TextureId = "rbxassetid://250639536" | |
| 3681 | local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil) | |
| 3682 | local pt5 = makepart("Bright blue", "pt5", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3683 | local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5)
| |
| 3684 | local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil) | |
| 3685 | local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3686 | local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://703458158", pt6)
| |
| 3687 | local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil) | |
| 3688 | local pt7 = makepart("Magenta", "pt7", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3689 | local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7)
| |
| 3690 | local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil) | |
| 3691 | local hdec1 = Instance.new("Decal")
| |
| 3692 | hdec1.Texture = "rbxasset://textures/face.png" | |
| 3693 | hdec1.Face = "Front" | |
| 3694 | hdec1.Parent = pt7 | |
| 3695 | local pt8 = makepart("Magenta", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3696 | local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8)
| |
| 3697 | local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil) | |
| 3698 | local hdec2 = Instance.new("Decal")
| |
| 3699 | hdec2.Texture = "rbxasset://textures/face.png" | |
| 3700 | hdec2.Face = "Front" | |
| 3701 | hdec2.Parent = pt8 | |
| 3702 | local pt9 = makepart("Magenta", "pt9", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3703 | local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://272942659", pt9)
| |
| 3704 | local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil) | |
| 3705 | p9m.TextureId = "rbxassetid://272942750" | |
| 3706 | local pt10 = makepart("Magenta", "pt10", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3707 | local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10)
| |
| 3708 | local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil) | |
| 3709 | local hdec3 = Instance.new("Decal")
| |
| 3710 | hdec3.Texture = "rbxasset://textures/face.png" | |
| 3711 | hdec3.Face = "Front" | |
| 3712 | hdec3.Parent = pt10 | |
| 3713 | local pt11 = makepart("Magenta", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3714 | local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11)
| |
| 3715 | local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil) | |
| 3716 | local hdec4 = Instance.new("Decal")
| |
| 3717 | hdec4.Texture = "rbxasset://textures/face.png" | |
| 3718 | hdec4.Face = "Front" | |
| 3719 | hdec4.Parent = pt11 | |
| 3720 | local pt12 = makepart("Magenta", "pt12", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3721 | local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12)
| |
| 3722 | local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil) | |
| 3723 | local hdec5 = Instance.new("Decal")
| |
| 3724 | hdec5.Texture = "rbxasset://textures/face.png" | |
| 3725 | hdec5.Face = "Front" | |
| 3726 | hdec5.Parent = pt12 | |
| 3727 | local pt13 = makepart("Magenta", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 3728 | local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13)
| |
| 3729 | local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil) | |
| 3730 | local hdec6 = Instance.new("Decal")
| |
| 3731 | hdec6.Texture = "rbxasset://textures/face.png" | |
| 3732 | hdec6.Face = "Front" | |
| 3733 | hdec6.Parent = pt13 | |
| 3734 | cliham = tool.Activated:connect(function() | |
| 3735 | if selected == false or activu == true or ragged == true then | |
| 3736 | return | |
| 3737 | end | |
| 3738 | activu = true | |
| 3739 | movin = false | |
| 3740 | for B = 1, 20 do | |
| 3741 | swait() | |
| 3742 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4) | |
| 3743 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4) | |
| 3744 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4) | |
| 3745 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 3746 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4) | |
| 3747 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 3748 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4) | |
| 3749 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 3750 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4) | |
| 3751 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 3752 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045) | |
| 3753 | end | |
| 3754 | for B = 1, 30 do | |
| 3755 | swait() | |
| 3756 | lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80) | |
| 3757 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80) | |
| 3758 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80) | |
| 3759 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 3760 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80) | |
| 3761 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 3762 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80) | |
| 3763 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 3764 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80) | |
| 3765 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 3766 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 3767 | end | |
| 3768 | for B = 1, 7 do | |
| 3769 | swait() | |
| 3770 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15) | |
| 3771 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15) | |
| 3772 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15) | |
| 3773 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 3774 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15) | |
| 3775 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 3776 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15) | |
| 3777 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 3778 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15) | |
| 3779 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 3780 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 3781 | end | |
| 3782 | for B = 1, 4 do | |
| 3783 | swait() | |
| 3784 | lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1) | |
| 3785 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1) | |
| 3786 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1) | |
| 3787 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 3788 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1) | |
| 3789 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 3790 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1) | |
| 3791 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 3792 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1) | |
| 3793 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 3794 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 3795 | end | |
| 3796 | swait(15) | |
| 3797 | movin = true | |
| 3798 | activu = false | |
| 3799 | end) | |
| 3800 | end | |
| 3801 | elseif batting == true then | |
| 3802 | batting = false | |
| 3803 | cliham:Disconnect() | |
| 3804 | local badevz = chr:FindFirstChild("bmodel")
| |
| 3805 | badevz.PrimaryPart = badevz.hnd | |
| 3806 | for _, A in pairs(badevz:GetChildren()) do | |
| 3807 | if A.ClassName == "Part" then | |
| 3808 | A.CanCollide = true | |
| 3809 | A.Anchored = false | |
| 3810 | end | |
| 3811 | end | |
| 3812 | movin = false | |
| 3813 | badevz.Parent = workspace | |
| 3814 | badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0)) | |
| 3815 | game.Debris:AddItem(badevz, 8) | |
| 3816 | end | |
| 3817 | end | |
| 3818 | game:GetService("ContentProvider"):Preload("rbxassetid://725969678")
| |
| 3819 | function lauf() | |
| 3820 | if selected == false or activu == true then | |
| 3821 | return | |
| 3822 | end | |
| 3823 | lauf1:Play() | |
| 3824 | end | |
| 3825 | noobmodel = Instance.new("Model",chr)
| |
| 3826 | function makenoob(cfrem, scalo, rags) | |
| 3827 | nscale.Value = scalo | |
| 3828 | local md = Instance.new("Model")
| |
| 3829 | md.Name = "Noob" | |
| 3830 | md.Parent = workspace | |
| 3831 | local hu = Instance.new("Humanoid")
| |
| 3832 | hu.RigType = "R6" | |
| 3833 | hu.MaxHealth = 100 * scalo | |
| 3834 | hu.Health = 100 * scalo | |
| 3835 | hu.Parent = md | |
| 3836 | local anm = Instance.new("Animator")
| |
| 3837 | anm.Parent = hu | |
| 3838 | hu.PlatformStand = true | |
| 3839 | local light = function(part) | |
| 3840 | part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5) | |
| 3841 | end | |
| 3842 | local hd = Instance.new("Part")
| |
| 3843 | hd.Name = "Head" | |
| 3844 | hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 3845 | hd.TopSurface = "Smooth" | |
| 3846 | hd.BottomSurface = "Inlet" | |
| 3847 | hd.Locked = true | |
| 3848 | hd.BrickColor = BrickColor.new("White")
| |
| 3849 | hd.CanCollide = true | |
| 3850 | hd.Anchored = false | |
| 3851 | light(hd) | |
| 3852 | hd.Parent = md | |
| 3853 | local hm = Instance.new("SpecialMesh")
| |
| 3854 | hm.MeshType = "Head" | |
| 3855 | hm.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 3856 | hm.Parent = hd | |
| 3857 | local hf = Instance.new("Decal")
| |
| 3858 | hf.Texture = "rbxasset://textures/face.png" | |
| 3859 | local gen = math.random(1, 40) | |
| 3860 | if gen == 3 then | |
| 3861 | hf.Texture = "rbxassetid://260884109" | |
| 3862 | end | |
| 3863 | if gen == 8 then | |
| 3864 | hf.Texture = "rbxassetid://260569492" | |
| 3865 | end | |
| 3866 | if gen == 12 then | |
| 3867 | hf.Texture = "rbxassetid://259580505" | |
| 3868 | end | |
| 3869 | if gen == 16 then | |
| 3870 | hf.Texture = "rbxassetid://259579232" | |
| 3871 | end | |
| 3872 | if gen == 24 then | |
| 3873 | hf.Texture = "rbxassetid://259571525" | |
| 3874 | end | |
| 3875 | if gen == 28 then | |
| 3876 | hf.Texture = "rbxassetid://258283210" | |
| 3877 | end | |
| 3878 | if gen == 32 then | |
| 3879 | hf.Texture = "rbxassetid://258940032" | |
| 3880 | end | |
| 3881 | if gen == 38 then | |
| 3882 | hf.Texture = "rbxassetid://673220970" | |
| 3883 | hf.Color3 = Color3.new(255, 255, 255) | |
| 3884 | end | |
| 3885 | hf.Face = "Front" | |
| 3886 | hf.Parent = hd | |
| 3887 | local hrpa = Instance.new("Part")
| |
| 3888 | hrpa.Name = "HumanoidRootPart" | |
| 3889 | hrpa.TopSurface, hrpa.BottomSurface = 0, 0 | |
| 3890 | hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 3891 | hrpa.Transparency = 1 | |
| 3892 | hrpa.CanCollide = false | |
| 3893 | hrpa.Locked = true | |
| 3894 | light(hrpa) | |
| 3895 | hrpa.Parent = md | |
| 3896 | local tagbomb = Instance.new("BoolValue")
| |
| 3897 | tagbomb.Name = "tagbomb" | |
| 3898 | tagbomb.Value = false | |
| 3899 | tagbomb.Parent = hrpa | |
| 3900 | local learm = Instance.new("Part")
| |
| 3901 | learm.Name = "Left Arm" | |
| 3902 | learm.BrickColor = BrickColor.new("White")
| |
| 3903 | learm.CanCollide = false | |
| 3904 | learm.Locked = true | |
| 3905 | learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 3906 | light(learm) | |
| 3907 | learm.Parent = md | |
| 3908 | local riarm = Instance.new("Part")
| |
| 3909 | riarm.Name = "Right Arm" | |
| 3910 | riarm.BrickColor = BrickColor.new("White")
| |
| 3911 | riarm.CanCollide = false | |
| 3912 | riarm.Locked = true | |
| 3913 | light(riarm) | |
| 3914 | riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 3915 | riarm.Parent = md | |
| 3916 | local leleg = Instance.new("Part")
| |
| 3917 | leleg.Name = "Left Leg" | |
| 3918 | leleg.BrickColor = BrickColor.new("White")
| |
| 3919 | leleg.CanCollide = false | |
| 3920 | leleg.Locked = true | |
| 3921 | light(leleg) | |
| 3922 | leleg.BottomSurface = 0 | |
| 3923 | leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 3924 | leleg.Parent = md | |
| 3925 | local rileg = Instance.new("Part")
| |
| 3926 | rileg.Name = "Right Leg" | |
| 3927 | rileg.BrickColor = BrickColor.new("White")
| |
| 3928 | rileg.CanCollide = false | |
| 3929 | rileg.Locked = true | |
| 3930 | light(rileg) | |
| 3931 | rileg.BottomSurface = 0 | |
| 3932 | rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 3933 | rileg.Parent = md | |
| 3934 | local tor = Instance.new("Part")
| |
| 3935 | tor.Name = "Torso" | |
| 3936 | tor.BrickColor = BrickColor.new("White")
| |
| 3937 | tor.Locked = true | |
| 3938 | light(tor) | |
| 3939 | tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 3940 | tor.LeftSurface, tor.RightSurface = "Weld", "Weld" | |
| 3941 | tor.Parent = md | |
| 3942 | md.PrimaryPart = hrpa | |
| 3943 | md:SetPrimaryPartCFrame(cfrem) | |
| 3944 | md:makeJoints() | |
| 3945 | makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint") | |
| 3946 | makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck") | |
| 3947 | if rags == true then | |
| 3948 | makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 3949 | makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 3950 | makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 3951 | makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 3952 | maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 3953 | maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 3954 | maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 3955 | maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 3956 | elseif rags == false then | |
| 3957 | makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 3958 | makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 3959 | makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 3960 | makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 3961 | hu.PlatformStand = false | |
| 3962 | end | |
| 3963 | nscale.Value = 1 | |
| 3964 | hu.Touched:connect(function(tpart, uwot) | |
| 3965 | if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md then | |
| 3966 | tagbomb.Value = false | |
| 3967 | hu.Health = 0 | |
| 3968 | local derp = Instance.new("Explosion")
| |
| 3969 | derp.BlastPressure = 200 | |
| 3970 | derp.BlastRadius = 20 | |
| 3971 | derp.DestroyJointRadiusPercent = 0 | |
| 3972 | derp.ExplosionType = 20 | |
| 3973 | derp.Visible = true | |
| 3974 | derp.Position = uwot.Position - Vector3.new(0, 0.5, 0) | |
| 3975 | derp.Parent = workspace | |
| 3976 | game.Debris:AddItem(md, 8) | |
| 3977 | end | |
| 3978 | end) | |
| 3979 | return md | |
| 3980 | end | |
| 3981 | local Moe = Instance.new("Model",game.Workspace)Moe.Name = "Baseballs"
| |
| 3982 | function Baseball() | |
| 3983 | if activu == true then return end | |
| 3984 | activu = true | |
| 3985 | local Middle = Instance.new("Part",Moe)Middle.BrickColor = BrickColor.new("White")Middle.Size = Vector3.new(0.75,0.75,0.75)
| |
| 3986 | Middle.TopSurface = "Smooth" Middle.BottomSurface = "Smooth" local M1 = Instance.new("SpecialMesh",Middle)M1.MeshType = "Sphere" Middle.CanCollide = false
| |
| 3987 | Middle.Material = "SmoothPlastic" local W1 = Instance.new("Weld", Middle)W1.Part0 = Middle W1.Part1 = rarm W1.C0 = CFrame.new(0,1.2,0)
| |
| 3988 | for _ = 1, 3 do | |
| 3989 | swait() | |
| 3990 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 3991 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3992 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
| 3993 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3994 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 3995 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3996 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 3997 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 3998 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 3999 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 4000 | end | |
| 4001 | local Fre = fire:clone()Fre.Parent = Middle Fre.Enabled = true Fre.Lifetime = NumberRange.new(0.75) | |
| 4002 | Fre.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
| |
| 4003 | game.Debris:AddItem(W1,0) | |
| 4004 | wait() | |
| 4005 | Middle.CFrame = CFrame.new(tors.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p) | |
| 4006 | local BV = Instance.new("BodyVelocity",Middle)BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)BV.Velocity = Middle.CFrame.lookVector * 150
| |
| 4007 | for X = 1, 3 do | |
| 4008 | swait() | |
| 4009 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
| 4010 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 4011 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 4012 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 4013 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 4014 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 4015 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 4016 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 4017 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 4018 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 4019 | end | |
| 4020 | activu = false | |
| 4021 | end | |
| 4022 | function makecircle(cfrem, scalo) | |
| 4023 | local mcir1 = Instance.new("Part")
| |
| 4024 | mcir1.Anchored = true | |
| 4025 | mcir1.CanCollide = false | |
| 4026 | mcir1.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 4027 | mcir1.Transparency = 1 | |
| 4028 | mcir1.CFrame = cfrem | |
| 4029 | mcir1.Parent = modz | |
| 4030 | game.Debris:AddItem(mcir1, 8) | |
| 4031 | local d1 = Instance.new("Decal")
| |
| 4032 | d1.Texture = "rbxassetid://602615043" | |
| 4033 | d1.Face = "Front" | |
| 4034 | d1.Parent = mcir1 | |
| 4035 | local d2 = Instance.new("Decal")
| |
| 4036 | d2.Texture = "rbxassetid://602617463" | |
| 4037 | d2.Face = "Back" | |
| 4038 | d2.Parent = mcir1 | |
| 4039 | local bme = Instance.new("BlockMesh")
| |
| 4040 | bme.Parent = mcir1 | |
| 4041 | for _ = 1, 2 do | |
| 4042 | swait() | |
| 4043 | bme.Scale = bme.Scale:lerp(Vector3.new(60 * scalo, 60 * scalo, 0), 0.2) | |
| 4044 | end | |
| 4045 | for _ = 1, 15 do | |
| 4046 | swait() | |
| 4047 | bme.Scale = bme.Scale:lerp(Vector3.new(-0.2 * scalo, -0.2 * scalo, 0), 0.2) | |
| 4048 | end | |
| 4049 | for _ = 1, 3 do | |
| 4050 | swait() | |
| 4051 | bme.Scale = bme.Scale:lerp(Vector3.new(80 * scalo, 80 * scalo, 0), 0.2) | |
| 4052 | end | |
| 4053 | coroutine.resume(coroutine.create(function() | |
| 4054 | swait(15) | |
| 4055 | for _ = 1, 12 do | |
| 4056 | swait() | |
| 4057 | d1.Transparency = d1.Transparency + 0.08 | |
| 4058 | d2.Transparency = d2.Transparency + 0.08 | |
| 4059 | end | |
| 4060 | mcir1:Destroy() | |
| 4061 | end)) | |
| 4062 | return mcir1 | |
| 4063 | end | |
| 4064 | function spawnnoob(circlecf, noobcf, scalez, ragd) | |
| 4065 | local aearae = makecircle(circlecf, scalez) | |
| 4066 | local nananb | |
| 4067 | if ragd then | |
| 4068 | nananb = makenoob(aearae.CFrame * noobcf, scalez, true) | |
| 4069 | elseif not ragd then | |
| 4070 | nananb = makenoob(aearae.CFrame * noobcf, scalez, false) | |
| 4071 | end | |
| 4072 | return nananb | |
| 4073 | end | |
| 4074 | function tagexplode(partoz, magn, bombdelay) | |
| 4075 | for _, guy in pairs(workspace:GetChildren()) do | |
| 4076 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Noob" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then
| |
| 4077 | coroutine.resume(coroutine.create(function() | |
| 4078 | swait(bombdelay * 30) | |
| 4079 | guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true
| |
| 4080 | end)) | |
| 4081 | end | |
| 4082 | end | |
| 4083 | end | |
| 4084 | function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot, charge) | |
| 4085 | for _, guy in pairs(workspace:GetChildren()) do | |
| 4086 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 4087 | do | |
| 4088 | local humz = guy:FindFirstChild("Humanoid")
| |
| 4089 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 4090 | if Berserk == true then | |
| 4091 | humz.Health = humz.Health - charge*charge*100 | |
| 4092 | else | |
| 4093 | humz.Health = humz.Health - charge*charge/10 | |
| 4094 | end | |
| 4095 | ragplayer(guy) | |
| 4096 | humz:SetStateEnabled(16, true) | |
| 4097 | delay(debtim, function() | |
| 4098 | humz:SetStateEnabled(16, true) | |
| 4099 | end) | |
| 4100 | local b = Instance.new("Part")
| |
| 4101 | nooutline(b) | |
| 4102 | b.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 4103 | b.Transparency = 0.25 | |
| 4104 | b.Anchored = true | |
| 4105 | b.CanCollide = false | |
| 4106 | b.BrickColor = BrickColor.new("White")
| |
| 4107 | b.Locked = true | |
| 4108 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 4109 | b.Parent = modz | |
| 4110 | local c = Instance.new("SpecialMesh")
| |
| 4111 | c.MeshType = "Sphere" | |
| 4112 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 4113 | c.Parent = b | |
| 4114 | game.Debris:AddItem(b, 1) | |
| 4115 | if Berserk == false then | |
| 4116 | humz:SetStateEnabled(16, true) | |
| 4117 | delay(debtim, function() | |
| 4118 | humz:SetStateEnabled(16, true) | |
| 4119 | end) | |
| 4120 | local db = Instance.new("StringValue")
| |
| 4121 | db.Name = "alabo" | |
| 4122 | db.Parent = horp | |
| 4123 | delay(debtim, function() | |
| 4124 | db:Destroy() | |
| 4125 | end) | |
| 4126 | end | |
| 4127 | if bodyfdire then | |
| 4128 | local boopyve = Instance.new("BodyVelocity")
| |
| 4129 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
| 4130 | boopyve.P = 9999999999 | |
| 4131 | boopyve.Velocity = bodyfdire | |
| 4132 | boopyve.Parent = horp | |
| 4133 | game.Debris:AddItem(boopyve, debtim) | |
| 4134 | end | |
| 4135 | if bodyrot then | |
| 4136 | local boopyro = Instance.new("BodyAngularVelocity")
| |
| 4137 | boopyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
| 4138 | boopyro.P = math.huge | |
| 4139 | boopyro.AngularVelocity = bodyrot | |
| 4140 | boopyro.Parent = horp | |
| 4141 | game.Debris:AddItem(boopyro, debtim) | |
| 4142 | end | |
| 4143 | for i = 1,2 do | |
| 4144 | local bet = Instance.new("Sound")
| |
| 4145 | bet.Pitch = rd2(9, 11) / 10 | |
| 4146 | bet.Volume = 2 | |
| 4147 | bet.SoundId = "rbxassetid://694048922" | |
| 4148 | bet.Parent = b | |
| 4149 | bet:Play() | |
| 4150 | end | |
| 4151 | if charge >= 100 then | |
| 4152 | local P = guy:GetChildren() | |
| 4153 | for i = 1,#P do | |
| 4154 | if P[i].Name ~= "HumanoidRootPart" then | |
| 4155 | P[i]:remove() | |
| 4156 | end | |
| 4157 | end | |
| 4158 | for i = 1,2 do | |
| 4159 | local bet = Instance.new("Sound")
| |
| 4160 | bet.Volume = 10 | |
| 4161 | bet.SoundId = "rbxassetid://291487516" | |
| 4162 | bet.Parent = b | |
| 4163 | bet:Play() | |
| 4164 | end | |
| 4165 | local Rainbew = fire:clone()Rainbew.Parent = horp Rainbew.Enabled = true Rainbew.Lifetime = NumberRange.new(4) Rainbew.Speed = NumberRange.new(0) | |
| 4166 | end | |
| 4167 | coroutine.resume(coroutine.create(function() | |
| 4168 | for _ = 1, 5 do | |
| 4169 | swait() | |
| 4170 | b.Transparency = b.Transparency + 0.175 | |
| 4171 | c.Scale = c.Scale + Vector3.new(2 * dmg, 2 * dmg, 2 * dmg) | |
| 4172 | end | |
| 4173 | end)) | |
| 4174 | end | |
| 4175 | end | |
| 4176 | end | |
| 4177 | end | |
| 4178 | function hito2(partoz, magn, dmg, debtim, bodyfdire, bodyrot) | |
| 4179 | for _, guy in pairs(workspace:GetChildren()) do | |
| 4180 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 4181 | do | |
| 4182 | local humz = guy:FindFirstChild("Humanoid")
| |
| 4183 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 4184 | ragplayer(guy) | |
| 4185 | if guy:findFirstChild("Head")~=nil then
| |
| 4186 | guy.Head:BreakJoints() | |
| 4187 | local boopyve = Instance.new("BodyVelocity")
| |
| 4188 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
| 4189 | boopyve.P = 9999999999 | |
| 4190 | boopyve.Velocity = bodyfdire | |
| 4191 | boopyve.Parent = guy:findFirstChild("Head")
| |
| 4192 | game.Debris:AddItem(boopyve, debtim) | |
| 4193 | local Blood = Instance.new("ParticleEmitter", guy.Head)
| |
| 4194 | Blood.Enabled = false | |
| 4195 | Blood.Lifetime = NumberRange.new(0.75) | |
| 4196 | Blood.RotSpeed = NumberRange.new(10) | |
| 4197 | Blood.Acceleration = Vector3.new(0,-10,0) | |
| 4198 | Blood.Rate = 250 | |
| 4199 | Blood.VelocitySpread = 360 | |
| 4200 | Blood.Speed = NumberRange.new(2,8) | |
| 4201 | Blood.Rotation = NumberRange.new(-360,360) | |
| 4202 | Blood.Name = "Blood" | |
| 4203 | Blood.LightEmission = -0.5 | |
| 4204 | Blood.Texture = "http://www.roblox.com/asset/?id=513989292" | |
| 4205 | Blood.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.8), NumberSequenceKeypoint.new(1, 0)})
| |
| 4206 | Blood.ZOffset = 2 Blood.Enabled = true | |
| 4207 | end | |
| 4208 | humz:SetStateEnabled(16, true) | |
| 4209 | delay(debtim, function() | |
| 4210 | humz:SetStateEnabled(16, true) | |
| 4211 | end) | |
| 4212 | local db = Instance.new("StringValue")
| |
| 4213 | db.Name = "alabo" | |
| 4214 | db.Parent = horp | |
| 4215 | delay(debtim, function() | |
| 4216 | db:Destroy() | |
| 4217 | end) | |
| 4218 | if bodyfdire then | |
| 4219 | ||
| 4220 | end | |
| 4221 | if bodyrot then | |
| 4222 | local boopyro = Instance.new("BodyAngularVelocity")
| |
| 4223 | boopyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
| 4224 | boopyro.P = math.huge | |
| 4225 | boopyro.AngularVelocity = bodyrot | |
| 4226 | boopyro.Parent = horp | |
| 4227 | game.Debris:AddItem(boopyro, debtim) | |
| 4228 | end | |
| 4229 | for i = 1,2 do | |
| 4230 | local bet = Instance.new("Sound")
| |
| 4231 | bet.Pitch = rd2(9, 11) / 10 | |
| 4232 | bet.Volume = rd2(12, 14) / 10 | |
| 4233 | bet.SoundId = "rbxassetid://553265835" | |
| 4234 | bet.Parent = horp | |
| 4235 | bet:Play() | |
| 4236 | end | |
| 4237 | end | |
| 4238 | end | |
| 4239 | ||
| 4240 | end | |
| 4241 | end | |
| 4242 | function hito3(partoz, magn, dmg, debtim, bodyfdire, bodyrot, charge) | |
| 4243 | for _, guy in pairs(workspace:GetChildren()) do | |
| 4244 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 4245 | do | |
| 4246 | local humz = guy:FindFirstChild("Humanoid")
| |
| 4247 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 4248 | local p23 = Instance.new("Part",Maedl)p23.Size = Vector3.new(1,1,1)p23.Material = "Neon" p23.BrickColor = BrickColor.new("White") p23.CanCollide = false
| |
| 4249 | p23.CFrame = guy.Torso.CFrame*CFrame.Angles(math.random(-90,90),math.random(-90,90),math.random(-90,90)) | |
| 4250 | local B23 = Instance.new("BlockMesh",p23)
| |
| 4251 | local BP = Instance.new("BodyPosition",p23)BP.P = 10000000 BP.maxForce = Vector3.new(math.huge,math.huge,math.huge)p23:findFirstChild("BodyPosition").Position = tors.Position
| |
| 4252 | game.Debris:AddItem(p23,2) | |
| 4253 | guy.Torso:BreakJoints() | |
| 4254 | local b = Instance.new("Part")
| |
| 4255 | nooutline(b) | |
| 4256 | b.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 4257 | b.Transparency = 0 | |
| 4258 | b.Anchored = true | |
| 4259 | b.CanCollide = false | |
| 4260 | b.BrickColor = BrickColor.new("White")
| |
| 4261 | b.Locked = true | |
| 4262 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
| 4263 | b.Parent = modz | |
| 4264 | local c = Instance.new("SpecialMesh")
| |
| 4265 | c.MeshType = "Sphere" | |
| 4266 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 4267 | c.Parent = b | |
| 4268 | game.Debris:AddItem(b, 1) | |
| 4269 | humz:SetStateEnabled(16, true) | |
| 4270 | delay(debtim, function() | |
| 4271 | humz:SetStateEnabled(16, true) | |
| 4272 | end) | |
| 4273 | local db = Instance.new("StringValue")
| |
| 4274 | db.Name = "alabo" | |
| 4275 | db.Parent = horp | |
| 4276 | delay(debtim, function() | |
| 4277 | db:Destroy() | |
| 4278 | end) | |
| 4279 | for i = 1,2 do | |
| 4280 | local bet = Instance.new("Sound")
| |
| 4281 | bet.Pitch = rd2(9, 11) / 10 | |
| 4282 | bet.Volume = 10 | |
| 4283 | bet.SoundId = "rbxassetid://553265835" | |
| 4284 | bet.Parent = guy.Torso | |
| 4285 | bet:Play() | |
| 4286 | end | |
| 4287 | coroutine.resume(coroutine.create(function() | |
| 4288 | for _ = 1, 5 do | |
| 4289 | swait() | |
| 4290 | b.Transparency = b.Transparency + 0.2 | |
| 4291 | c.Scale = c.Scale + Vector3.new(4 * dmg, 4 * dmg, 4 * dmg) | |
| 4292 | end | |
| 4293 | end)) | |
| 4294 | end | |
| 4295 | end | |
| 4296 | end | |
| 4297 | end | |
| 4298 | function hito4(partoz, magn, dmg, debtim, bodyfdire, bodyrot, charge) | |
| 4299 | for _, guy in pairs(workspace:GetChildren()) do | |
| 4300 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
| |
| 4301 | do | |
| 4302 | local humz = guy:FindFirstChild("Humanoid")
| |
| 4303 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 4304 | ragplayer(guy) | |
| 4305 | humz:SetStateEnabled(16, true) | |
| 4306 | delay(debtim, function() | |
| 4307 | humz:SetStateEnabled(16, true) | |
| 4308 | end) | |
| 4309 | if Berserk == false then | |
| 4310 | humz:SetStateEnabled(16, true) | |
| 4311 | delay(debtim, function() | |
| 4312 | humz:SetStateEnabled(16, true) | |
| 4313 | end) | |
| 4314 | local db = Instance.new("StringValue")
| |
| 4315 | db.Name = "alabo" | |
| 4316 | db.Parent = horp | |
| 4317 | delay(debtim, function() | |
| 4318 | db:Destroy() | |
| 4319 | end) | |
| 4320 | end | |
| 4321 | local boopyve = Instance.new("BodyVelocity")
| |
| 4322 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
| 4323 | boopyve.P = 9999999999 | |
| 4324 | boopyve.Velocity = bodyfdire | |
| 4325 | boopyve.Parent = horp | |
| 4326 | if bodyrot then | |
| 4327 | local boopyro = Instance.new("BodyAngularVelocity")
| |
| 4328 | boopyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
| 4329 | boopyro.P = math.huge | |
| 4330 | boopyro.AngularVelocity = bodyrot | |
| 4331 | boopyro.Parent = horp | |
| 4332 | game.Debris:AddItem(boopyro, debtim) | |
| 4333 | end | |
| 4334 | if charge >= 1 then | |
| 4335 | for i = 1,2 do | |
| 4336 | local bet = Instance.new("Sound")
| |
| 4337 | bet.Volume = 10 | |
| 4338 | bet.SoundId = "rbxassetid://517249876" | |
| 4339 | bet.Parent = tors | |
| 4340 | bet:Play() | |
| 4341 | end | |
| 4342 | for i = 1,100 do | |
| 4343 | Lightningz2(tors.Position+Vector3.new(math.random(-charge/100,charge/100)),guy.HumanoidRootPart.Position, 0.2, 8, game.Workspace) | |
| 4344 | humz.Health = 0.001 | |
| 4345 | wait() end game.Debris:AddItem(boopyve, 0) | |
| 4346 | end | |
| 4347 | end | |
| 4348 | end | |
| 4349 | end | |
| 4350 | end | |
| 4351 | function cleannoobs() | |
| 4352 | for _, nib in pairs(workspace:GetChildren()) do | |
| 4353 | coroutine.resume(coroutine.create(function() | |
| 4354 | if nib.Name == "Noob" then | |
| 4355 | if nib:FindFirstChild("HumanoidRootPart") then
| |
| 4356 | local g = Instance.new("Part")
| |
| 4357 | g.CanCollide, g.Anchored = false, true | |
| 4358 | g.Transparency = 1 | |
| 4359 | g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
| |
| 4360 | g.Parent = workspace | |
| 4361 | game.Debris:AddItem(g, 3.5) | |
| 4362 | local sou = Instance.new("Sound")
| |
| 4363 | sou.Pitch = math.random(7, 11) / 10 | |
| 4364 | sou.Volume = 0.8 | |
| 4365 | sou.SoundId = "rbxassetid://111124523" | |
| 4366 | sou.Parent = g | |
| 4367 | local pe = Instance.new("ParticleEmitter")
| |
| 4368 | pe.Acceleration = Vector3.new(0, 8, 0) | |
| 4369 | pe.Lifetime = NumberRange.new(1, 1.5) | |
| 4370 | pe.Rate = 0.005 | |
| 4371 | pe.RotSpeed = NumberRange.new(-30, 30) | |
| 4372 | pe.Rotation = NumberRange.new(0, 360) | |
| 4373 | pe.Size = NumberSequence.new({
| |
| 4374 | NumberSequenceKeypoint.new(0, 4.38, 0), | |
| 4375 | NumberSequenceKeypoint.new(0.672, 4.14, 0), | |
| 4376 | NumberSequenceKeypoint.new(1, 1.48, 0) | |
| 4377 | }) | |
| 4378 | pe.Texture = "rbxassetid://244221440" | |
| 4379 | pe.Transparency = NumberSequence.new({
| |
| 4380 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 4381 | NumberSequenceKeypoint.new(0.529, 0.3, 0), | |
| 4382 | NumberSequenceKeypoint.new(1, 1, 1) | |
| 4383 | }) | |
| 4384 | pe.ZOffset = 5 | |
| 4385 | pe.Enabled = true | |
| 4386 | pe.VelocitySpread = 360 | |
| 4387 | pe.Parent = g | |
| 4388 | swait(5) | |
| 4389 | pe:Emit(6) | |
| 4390 | sou:Play() | |
| 4391 | end | |
| 4392 | nib:Destroy() | |
| 4393 | end | |
| 4394 | end)) | |
| 4395 | end | |
| 4396 | end | |
| 4397 | function animo(yep) | |
| 4398 | if yep == true then | |
| 4399 | anim.Parent = human | |
| 4400 | chr.Animate.Disabled = false | |
| 4401 | elseif yep == false then | |
| 4402 | chr.Animate.Disabled = true | |
| 4403 | anim.Parent = nil | |
| 4404 | end | |
| 4405 | end | |
| 4406 | mouse.KeyDown:connect(function(key) | |
| 4407 | if key == "r" then | |
| 4408 | test() | |
| 4409 | end | |
| 4410 | if key == "m" then | |
| 4411 | lauf() | |
| 4412 | end | |
| 4413 | if key == "c" and plr.UserId == 49689731 then | |
| 4414 | ham() | |
| 4415 | end | |
| 4416 | if key == "x" then | |
| 4417 | bat() | |
| 4418 | end | |
| 4419 | if key == "y" then | |
| 4420 | epic() | |
| 4421 | end | |
| 4422 | if key == "m" then | |
| 4423 | Bloodthirst() | |
| 4424 | end | |
| 4425 | if key == "g" then | |
| 4426 | Baseball() | |
| 4427 | end | |
| 4428 | if key == "l" and plr.UserId == 49689731 and selected == true then | |
| 4429 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, true) | |
| 4430 | end | |
| 4431 | if key == ";" and plr.UserId == 49689731 and selected == true then | |
| 4432 | spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true) | |
| 4433 | end | |
| 4434 | if key == "k" and plr.UserId == 49689731 and selected == true then | |
| 4435 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false) | |
| 4436 | end | |
| 4437 | if key == "p" then | |
| 4438 | cleannoobs() | |
| 4439 | end | |
| 4440 | if key == "z" then | |
| 4441 | if selected == false or activu == true then | |
| 4442 | return | |
| 4443 | end | |
| 4444 | if human.WalkSpeed == 24 then | |
| 4445 | human.WalkSpeed = 150 | |
| 4446 | human.JumpPower = 150 | |
| 4447 | else | |
| 4448 | human.WalkSpeed = 24 | |
| 4449 | human.JumpPower = 85 | |
| 4450 | end | |
| 4451 | end | |
| 4452 | end) | |
| 4453 | tool.Equipped:connect(function() | |
| 4454 | script.Disabled = false | |
| 4455 | selected = true | |
| 4456 | end) | |
| 4457 | tool.Unequipped:connect(function() | |
| 4458 | selected = false | |
| 4459 | end) | |
| 4460 | animo(false) | |
| 4461 | human.WalkSpeed = 24 | |
| 4462 | sine = 0 | |
| 4463 | charge = 1 | |
| 4464 | cos = math.cos | |
| 4465 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 4466 | if Berserk == true then | |
| 4467 | chr.Humanoid.MaxHealth = chr.Humanoid.MaxHealth + 5000 | |
| 4468 | chr.Humanoid.Health = chr.Humanoid.Health + 2500 | |
| 4469 | end | |
| 4470 | if Music == true then | |
| 4471 | hito(tors, 5, 10, 0.2, hrp.CFrame.lookVector * 150, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)), 1) | |
| 4472 | end | |
| 4473 | for i,v in pairs (Maedl:children()) do | |
| 4474 | v:findFirstChild("Mesh").Offset = Vector3.new(math.random(-15-v.Mesh.Scale.Y,15+v.Mesh.Scale.Y)/10,math.random(-15-v.Mesh.Scale.Y,15+v.Mesh.Scale.Y)/10,math.random(-15-v.Mesh.Scale.Y,15+v.Mesh.Scale.Y)/10)
| |
| 4475 | v:findFirstChild("Mesh").Scale = v.Mesh.Scale + Vector3.new(0.025,0.025,0.025)
| |
| 4476 | end | |
| 4477 | for i,v in pairs (Moe:children()) do | |
| 4478 | hito(v, 5, 10, 0.2, Vector3.new(math.random(-100,100),100,math.random(-100,100)), Vector3.new(0, rd2(-25, 25) * (100 / 25), rd2(-80, 80) * (100 / 40)),100) | |
| 4479 | end | |
| 4480 | for i,v in pairs (chr:children()) do | |
| 4481 | if v.ClassName == "Accessory" then | |
| 4482 | for i,v2 in pairs (v:children()) do | |
| 4483 | if v2.ClassName == "Part" then | |
| 4484 | v2.Anchored = false | |
| 4485 | end | |
| 4486 | end | |
| 4487 | end | |
| 4488 | end | |
| 4489 | for i,v in pairs (chr:children()) do | |
| 4490 | if v.ClassName == "Part" then | |
| 4491 | v.Anchored = false | |
| 4492 | end | |
| 4493 | end | |
| 4494 | if ragged == false and activu == false then | |
| 4495 | local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
| 4496 | local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
| |
| 4497 | local checkstate = human:GetState() | |
| 4498 | if checkstate.Value == 13 then | |
| 4499 | animpose = "Sitting" | |
| 4500 | elseif hrp.Velocity.y > 1 and checkpart == nil then | |
| 4501 | animpose = "Jumping" | |
| 4502 | elseif hrp.Velocity.y < -1 and checkpart == nil then | |
| 4503 | animpose = "Falling" | |
| 4504 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 4505 | animpose = "Idle" | |
| 4506 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then | |
| 4507 | animpose = "Walking" | |
| 4508 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then | |
| 4509 | animpose = "TooFast" | |
| 4510 | end | |
| 4511 | if animpose == "Idle" then | |
| 4512 | sine = sine + charge | |
| 4513 | lerpz(RJ, "C0", RJC0 * cf(0.05 * cos(sine / 40), 0, -0.05 - 0.05 * cos(sine / 20)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4514 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3) | |
| 4515 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3) | |
| 4516 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4517 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3) | |
| 4518 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4519 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), 0.05 * cos(sine / 40)) * ang(rd(-5), rd(-5), rd(1)), 0.3) | |
| 4520 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4521 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), -0.05 * cos(sine / 40)) * ang(rd(-5), rd(5), rd(1)), 0.3) | |
| 4522 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4523 | end | |
| 4524 | if animpose == "Walking" then | |
| 4525 | sine = sine + charge | |
| 4526 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.025 * cos(sine / 4)) * ang(rd(-5), math.sin(hrp.RotVelocity.Y / 30), math.sin(hrp.RotVelocity.Y / 5)), 0.3) | |
| 4527 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3) | |
| 4528 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6) | |
| 4529 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4530 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6) | |
| 4531 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4532 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6) | |
| 4533 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4534 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6) | |
| 4535 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4536 | end | |
| 4537 | if animpose == "Jumping" then | |
| 4538 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3) | |
| 4539 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
| 4540 | lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3) | |
| 4541 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4542 | lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3) | |
| 4543 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4544 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3) | |
| 4545 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4546 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3) | |
| 4547 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4548 | end | |
| 4549 | if animpose == "Falling" then | |
| 4550 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
| 4551 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
| 4552 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3) | |
| 4553 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4554 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3) | |
| 4555 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4556 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3) | |
| 4557 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4558 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3) | |
| 4559 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4560 | end | |
| 4561 | if animpose == "TooFast" then | |
| 4562 | sine = sine + charge | |
| 4563 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(-20), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3) | |
| 4564 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3) | |
| 4565 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6) | |
| 4566 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4567 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6) | |
| 4568 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4569 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6) | |
| 4570 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4571 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6) | |
| 4572 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4573 | end | |
| 4574 | if animpose == "Sitting" then | |
| 4575 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4576 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4577 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 4578 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4579 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 4580 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4581 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 4582 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4583 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 4584 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 4585 | end | |
| 4586 | end | |
| 4587 | end) |