SHOW:
|
|
- or go back to the newest paste.
| 1 | ---------ONE WITH CHEESEEE------------ | |
| 2 | ---------MAKE BY SKRUBL0RDZI------------ | |
| 3 | p = game.Players.LocalPlayer | |
| 4 | char = p.Character | |
| 5 | torso = char.Torso | |
| 6 | hed = char.Head | |
| 7 | neck = char.Torso.Neck | |
| 8 | hum = char.Humanoid | |
| 9 | hum.MaxHealth = math.huge | |
| 10 | local msg = game:GetService("Chat")
| |
| 11 | - | torso.BrickColor = BrickColor.new("Pastel brown")
|
| 11 | + | |
| 12 | - | hed.BrickColor = BrickColor.new("Pastel brown")
|
| 12 | + | |
| 13 | - | char["Right Arm"].BrickColor = BrickColor.new("Pastel brown")
|
| 13 | + | |
| 14 | - | char["Left Arm"].BrickColor = BrickColor.new("Pastel brown")
|
| 14 | + | |
| 15 | - | char["Left Leg"].BrickColor = BrickColor.new("Pastel brown")
|
| 15 | + | |
| 16 | - | char["Right Leg"].BrickColor = BrickColor.new("Pastel brown")
|
| 16 | + | |
| 17 | for i,v in pairs(game:GetService('Players'):GetChildren()) do
| |
| 18 | - | shirt = Instance.new("Shirt", char)
|
| 18 | + | |
| 19 | - | shirt.Name = "Shirt" |
| 19 | + | |
| 20 | - | pants = Instance.new("Pants", char)
|
| 20 | + | |
| 21 | - | pants.Name = "Pants" |
| 21 | + | |
| 22 | - | char.Shirt.ShirtTemplate = "rbxassetid://191845910" |
| 22 | + | |
| 23 | - | char.Pants.PantsTemplate = "rbxassetid://191846287" |
| 23 | + | |
| 24 | -------------------------------- | |
| 25 | ----------- | |
| 26 | GroundWave3 = function() | |
| 27 | ------------------------------- | |
| 28 | Spawn(function() | |
| 29 | while wait(1) do | |
| 30 | GroundWave3() | |
| 31 | wait(.5) | |
| 32 | GroundWave3() | |
| 33 | end | |
| 34 | end) | |
| 35 | warn'[Ground Brake]:Connect!' | |
| 36 | - | p1 = Instance.new("Part",char)
|
| 36 | + | |
| 37 | - | p1.FormFactor = Enum.FormFactor.Custom |
| 37 | + | |
| 38 | - | p1.Size = Vector3.new(1,1.6,1) |
| 38 | + | |
| 39 | - | p1.CanCollide = false |
| 39 | + | |
| 40 | - | p1.Locked = true |
| 40 | + | |
| 41 | - | p1.BottomSurface = Enum.SurfaceType.Smooth |
| 41 | + | |
| 42 | - | p1.TopSurface = Enum.SurfaceType.Smooth |
| 42 | + | |
| 43 | - | SMesh = Instance.new("SpecialMesh", p1)
|
| 43 | + | |
| 44 | - | SMesh.MeshId = "http://www.roblox.com/asset/?id=1045381" |
| 44 | + | |
| 45 | - | SMesh.MeshType = Enum.MeshType.FileMesh |
| 45 | + | |
| 46 | - | SMesh.Name = "Mesh" |
| 46 | + | |
| 47 | - | SMesh.TextureId = "http://www.roblox.com/asset/?id=91970459" |
| 47 | + | |
| 48 | - | w1 = Instance.new("Weld", hed)
|
| 48 | + | |
| 49 | - | w1.Part0 = hed |
| 49 | + | |
| 50 | - | w1.C0 = CFrame.new(0,0.76,0.2)*CFrame.Angles(0.3,0,0) |
| 50 | + | |
| 51 | - | w1.Part1 = p1 |
| 51 | + | |
| 52 | - | w1.C1 = CFrame.new(0, 0, 0) |
| 52 | + | |
| 53 | lleg = ll | |
| 54 | - | p1 = Instance.new("Part",char)
|
| 54 | + | |
| 55 | - | p1.FormFactor = Enum.FormFactor.Custom |
| 55 | + | |
| 56 | - | p1.Size = Vector3.new(1.8,0.8,1.8) |
| 56 | + | |
| 57 | - | p1.CanCollide = false |
| 57 | + | |
| 58 | - | p1.Locked = true |
| 58 | + | |
| 59 | - | p1.BrickColor = BrickColor.new("Bright red")
|
| 59 | + | |
| 60 | - | p1.BottomSurface = Enum.SurfaceType.Smooth |
| 60 | + | |
| 61 | - | p1.TopSurface = Enum.SurfaceType.Smooth |
| 61 | + | |
| 62 | - | SMesh = Instance.new("SpecialMesh", p1)
|
| 62 | + | |
| 63 | - | SMesh.MeshId = "http://www.roblox.com/asset/?id=11419729" |
| 63 | + | |
| 64 | - | SMesh.MeshType = Enum.MeshType.FileMesh |
| 64 | + | |
| 65 | - | SMesh.Name = "Mesh" |
| 65 | + | |
| 66 | - | w1 = Instance.new("Weld", hed)
|
| 66 | + | |
| 67 | - | w1.Part0 = hed |
| 67 | + | |
| 68 | - | w1.C0 = CFrame.new(0,0.2,-0.25) |
| 68 | + | |
| 69 | - | w1.Part1 = p1 |
| 69 | + | |
| 70 | - | w1.C1 = CFrame.new(0, 0, 0) |
| 70 | + | |
| 71 | Hum.Health = Hum.Health - .7 | |
| 72 | end | |
| 73 | - | local HandCF = CFrame.new(torso.Position - Vector3.new(0,0,0)) * CFrame.Angles(0,0,0) |
| 73 | + | |
| 74 | - | local wave1 = Instance.new("Part", torso)
|
| 74 | + | |
| 75 | - | wave1.BrickColor = BrickColor.new("Bright red")
|
| 75 | + | |
| 76 | - | wave1.Anchored = true |
| 76 | + | |
| 77 | - | wave1.CanCollide = false |
| 77 | + | |
| 78 | - | wave1.Locked = true |
| 78 | + | |
| 79 | - | wave1.Material = "Neon" |
| 79 | + | |
| 80 | - | wave1.Size = Vector3.new(0, 0, 0) |
| 80 | + | |
| 81 | - | wave1.TopSurface = "Smooth" |
| 81 | + | |
| 82 | - | wave1.BottomSurface = "Smooth" |
| 82 | + | |
| 83 | - | wave1.Transparency = 1 |
| 83 | + | |
| 84 | - | wave1.CFrame = HandCF |
| 84 | + | |
| 85 | - | wm = Instance.new("SpecialMesh", wave1)
|
| 85 | + | |
| 86 | - | wm.Scale = Vector3.new(0,0,0) |
| 86 | + | |
| 87 | - | wm.MeshType = "Sphere" |
| 87 | + | |
| 88 | - | coroutine.wrap(function() |
| 88 | + | |
| 89 | - | for i = 1, 20, 1 do |
| 89 | + | |
| 90 | - | wm.Scale = Vector3.new(0 + i*0, 0 + i*0, 0 + i*0) |
| 90 | + | |
| 91 | - | --wave1.Size = wm.Scale |
| 91 | + | |
| 92 | - | wave1.CFrame = HandCF |
| 92 | + | |
| 93 | - | wave1.Transparency = i/10 |
| 93 | + | |
| 94 | - | wait() |
| 94 | + | |
| 95 | end | |
| 96 | - | wait() |
| 96 | + | |
| 97 | - | wave1:Destroy() |
| 97 | + | |
| 98 | - | end)() |
| 98 | + | |
| 99 | ||
| 100 | Particle = function() | |
| 101 | local Part = Instance.new('Part',torso)
| |
| 102 | Part.Anchored = true | |
| 103 | Part.Transparency = 0 | |
| 104 | Part.Material = "Neon" | |
| 105 | Part.Touched:connect(function(I)OnTouch(I)end) | |
| 106 | Part.CanCollide = false | |
| 107 | Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()) | |
| 108 | local Mesh = Instance.new('SpecialMesh',Part)
| |
| 109 | Mesh.Scale = Vector3.new(1,1,1) | |
| 110 | Mesh.MeshId = "rbxassetid://" | |
| 111 | Mesh.TextureId = "rbxassetid://" | |
| 112 | spawn(function() | |
| 113 | for i = 1,40 do | |
| 114 | Part.Transparency = Part.Transparency + .0125 | |
| 115 | Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0) | |
| 116 | game["Run Service"].RenderStepped:wait() | |
| 117 | end | |
| 118 | Part:Destroy() | |
| 119 | end) | |
| 120 | end; | |
| 121 | ||
| 122 | Particle2 = function() | |
| 123 | local Part = Instance.new('Part',torso)
| |
| 124 | Part.Anchored = true | |
| 125 | Part.Transparency = 0 | |
| 126 | Part.Material = "Neon" | |
| 127 | Part.Touched:connect(function(I)OnTouch(I)end) | |
| 128 | Part.CanCollide = false | |
| 129 | Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()) | |
| 130 | local Mesh = Instance.new('SpecialMesh',Part)
| |
| 131 | - | Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) |
| 131 | + | |
| 132 | Mesh.MeshId = "rbxassetid://" | |
| 133 | - | Part.Material = 'Neon' |
| 133 | + | |
| 134 | spawn(function() | |
| 135 | - | Part.BrickColor = BrickColor.new("Bright red")
|
| 135 | + | |
| 136 | Part.Transparency = Part.Transparency + .0125 | |
| 137 | - | Mesh.Scale = Vector3.new(0,0,0) |
| 137 | + | |
| 138 | - | Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017' |
| 138 | + | |
| 139 | - | Mesh.VertexColor = Vector3.new(0,170,255) |
| 139 | + | |
| 140 | Part:Destroy() | |
| 141 | - | for i = 1,30 do |
| 141 | + | |
| 142 | - | Mesh.Scale = Mesh.Scale + Vector3.new(0,0,0) |
| 142 | + | |
| 143 | - | Part.Transparency = Part.Transparency + 1 |
| 143 | + | |
| 144 | spawn(function() | |
| 145 | while wait() do | |
| 146 | wait(.05) | |
| 147 | FloatPart() | |
| 148 | wait(.08) | |
| 149 | FloatPart() | |
| 150 | wait(.05) | |
| 151 | DubPart() | |
| 152 | - | Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) |
| 152 | + | |
| 153 | end | |
| 154 | end) | |
| 155 | - | Part.Material = 'Neon' |
| 155 | + | |
| 156 | - | Part.BrickColor = BrickColor.new("Bright red")
|
| 156 | + | |
| 157 | Particle() | |
| 158 | - | Mesh.Scale = Vector3.new(0,0,0) |
| 158 | + | |
| 159 | - | Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017' |
| 159 | + | |
| 160 | - | Mesh.VertexColor = Vector3.new(0,170,255) |
| 160 | + | |
| 161 | end) | |
| 162 | - | for i = 1,30 do |
| 162 | + | |
| 163 | - | Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0) |
| 163 | + | |
| 164 | - | Part.Transparency = Part.Transparency + 1 |
| 164 | + | |
| 165 | local HBill = Instance.new("BillboardGui", hed)
| |
| 166 | local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
| |
| 167 | local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
| |
| 168 | HBill.Size = UDim2.new(15,0,2.2,0) | |
| 169 | HBill.Name = "Health Display" | |
| 170 | HBill.StudsOffset = Vector3.new(0,4,0) | |
| 171 | HBill.AlwaysOnTop = true | |
| 172 | HBill.Enabled = false | |
| 173 | HMain.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 174 | HMain.BackgroundTransparency = 0.6 | |
| 175 | HMain.Size = UDim2.new(1,0,1,0) | |
| 176 | HBarBack.Parent = HMain | |
| 177 | HBarBack.BackgroundColor3 = Color3.new(0,0,0) | |
| 178 | HBarBack.BorderColor3 = Color3.new(0,0,0) | |
| 179 | HBarBack.BorderSizePixel = 2 | |
| 180 | HBarBack.Position = UDim2.new(.025, 0, .55, 0) | |
| 181 | HBarBack.Size = UDim2.new(.95, 0, .3, 0) | |
| 182 | HHealth.BackgroundTransparency = 1 | |
| 183 | HHealth.Size = UDim2.new(1,0,1,0) | |
| 184 | HHealth.Font = "Code" | |
| 185 | HHealth.Text = "I WILL EAT YOU!" | |
| 186 | HHealth.TextScaled = true | |
| 187 | HHealth.TextColor3 = Color3.new(1,1,1) | |
| 188 | HHealth.TextStrokeColor3 = BrickColor.new("Cyan").Color
| |
| 189 | HHealth.TextStrokeTransparency = 0 | |
| 190 | HName.Parent = HMain | |
| 191 | HName.BackgroundTransparency = 1 | |
| 192 | HName.Size = UDim2.new(1,0,.5,0) | |
| 193 | HName.Font = "Code" | |
| 194 | HName.Text = "Painis Cupcake" | |
| 195 | HName.TextScaled = false | |
| 196 | HName.TextColor3 = BrickColor.new("Bright red").Color
| |
| 197 | HName.TextStrokeColor3 = Color3.new(0,0,0) | |
| 198 | HName.TextStrokeTransparency = 0 | |
| 199 | HName.TextYAlignment = "Top" | |
| 200 | ||
| 201 | plr = game.Players.LocalPlayer | |
| 202 | local s = Instance.new("Sound",plr.Character)
| |
| 203 | s.Volume = 1 | |
| 204 | s.Looped = true | |
| 205 | s.Pitch = 1 | |
| 206 | s.SoundId = "rbxassetid://202879897" | |
| 207 | s:Play() | |
| 208 | repeat | |
| 209 | wait(0.4) | |
| 210 | until plr.Character | |
| 211 | chr = plr.Character | |
| 212 | human = chr:FindFirstChild("Humanoid")
| |
| 213 | mouse = plr:GetMouse() | |
| 214 | cam = workspace.CurrentCamera | |
| 215 | selected = false | |
| 216 | equipd = false | |
| 217 | tors = chr.Torso | |
| 218 | rarm = chr["Right Arm"] | |
| 219 | larm = chr["Left Arm"] | |
| 220 | rleg = chr["Right Leg"] | |
| 221 | lleg = chr["Left Leg"] | |
| 222 | hrp = chr.HumanoidRootPart | |
| 223 | hed = chr.Head | |
| 224 | anim = human.Animator | |
| 225 | activu = false | |
| 226 | ragged = false | |
| 227 | batting = false | |
| 228 | Heartbeat = Instance.new("BindableEvent")
| |
| 229 | Heartbeat.Name = "Heartbeat" | |
| 230 | Heartbeat.Parent = script | |
| 231 | frame = 0.03333333333333333 | |
| 232 | tf = 0 | |
| 233 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 234 | tf = tf + s | |
| 235 | if tf >= frame then | |
| 236 | for i = 1, math.floor(tf / frame) do | |
| 237 | Heartbeat:Fire() | |
| 238 | end | |
| 239 | tf = tf - frame * math.floor(tf / frame) | |
| 240 | end | |
| 241 | end) | |
| 242 | function swait(num) | |
| 243 | if num == 0 or num == nil then | |
| 244 | Heartbeat.Event:wait() | |
| 245 | else | |
| 246 | for i = 1, num do | |
| 247 | Heartbeat.Event:wait() | |
| 248 | end | |
| 249 | end | |
| 250 | end | |
| 251 | tool = Instance.new("Tool")
| |
| 252 | tool.CanBeDropped = false | |
| 253 | tool.RequiresHandle = false | |
| 254 | tool.ToolTip = "BONK!" | |
| 255 | tool.Name = "PRESS X EAT" | |
| 256 | tool.Parent = plr.Backpack | |
| 257 | modz = Instance.new("Model")
| |
| 258 | modz.Name = "efx" | |
| 259 | modz.Parent = chr | |
| 260 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 261 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 262 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 263 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 264 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 265 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 266 | - | hed.face.Texture = "http://www.roblox.com/asset/?id=" |
| 266 | + | |
| 267 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 268 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 269 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 270 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 271 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 272 | local nscale = Instance.new("NumberValue")
| |
| 273 | nscale.Value = 1 | |
| 274 | nscale.Parent = nil | |
| 275 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 276 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 277 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 278 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 279 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 280 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 281 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 282 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 283 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 284 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 285 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 286 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 287 | nscale.Changed:connect(function() | |
| 288 | RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 289 | RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 290 | LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 291 | LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 292 | RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 293 | RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 294 | LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 295 | LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 296 | RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 297 | RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 298 | NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 299 | NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 300 | end) | |
| 301 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 302 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 303 | RH = tors:FindFirstChild("Right Hip")
| |
| 304 | LH = tors:FindFirstChild("Left Hip")
| |
| 305 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 306 | N = tors:FindFirstChild("Neck")
| |
| 307 | cf = CFrame.new | |
| 308 | ang = CFrame.Angles | |
| 309 | rd = math.rad | |
| 310 | - | s.SoundId = "rbxassetid://262173427" |
| 310 | + | |
| 311 | function nooutline(p) | |
| 312 | p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
| 313 | end | |
| 314 | function makepart(color, name, reflec, trans, mater, parnt, cfram) | |
| 315 | local port = Instance.new("Part")
| |
| 316 | port.BrickColor = BrickColor.new(color) | |
| 317 | port.Name = name | |
| 318 | port.Transparency = trans | |
| 319 | nooutline(port) | |
| 320 | port.Reflectance = reflec | |
| 321 | port.Material = mater | |
| 322 | port.Anchored = false | |
| 323 | port.CanCollide = false | |
| 324 | port.Locked = true | |
| 325 | port.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 326 | port.Parent = parnt | |
| 327 | return port | |
| 328 | end | |
| 329 | function makemesh(meshtype, scale, meshid, parent) | |
| 330 | local mes = Instance.new("SpecialMesh")
| |
| 331 | mes.MeshType = meshtype | |
| 332 | mes.Scale = scale | |
| 333 | if meshtype == "FileMesh" then | |
| 334 | mes.MeshId = meshid | |
| 335 | end | |
| 336 | mes.Parent = parent | |
| 337 | return mes | |
| 338 | end | |
| 339 | function makeweld(parent, p0, p1, c0, c1) | |
| 340 | local wel = Instance.new("Weld")
| |
| 341 | wel.Part0 = p0 | |
| 342 | wel.Part1 = p1 | |
| 343 | wel.C0 = c0 | |
| 344 | if c1 ~= nil then | |
| 345 | wel.C1 = c1 | |
| 346 | end | |
| 347 | wel.Parent = parent | |
| 348 | return wel | |
| 349 | end | |
| 350 | local lauf1 = Instance.new("Sound")
| |
| 351 | lauf1.SoundId = "rbxassetid://632290372" | |
| 352 | lauf1.Volume = 5 | |
| 353 | lauf1.Pitch = 1 | |
| 354 | lauf1.Parent = hrp | |
| 355 | function lerpz(joint, prop, cfrmz, alp) | |
| 356 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
| 357 | end | |
| 358 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 359 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 360 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 361 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 362 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 363 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 364 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 365 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 366 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 367 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 368 | function resetlerp() | |
| 369 | RJ.C0 = RJC0 | |
| 370 | RJ.C1 = RJC1 | |
| 371 | N.C0 = NC0 | |
| 372 | N.C1 = NC1 | |
| 373 | RS.C0 = RSC0 | |
| 374 | RS.C1 = RSC1 | |
| 375 | LS.C0 = LSC0 | |
| 376 | LS.C1 = LSC1 | |
| 377 | RH.C0 = RHC0 | |
| 378 | RH.C1 = RHC1 | |
| 379 | LH.C0 = LHC0 | |
| 380 | LH.C1 = LHC1 | |
| 381 | end | |
| 382 | function test() | |
| 383 | if selected == false or activu == true then | |
| 384 | return | |
| 385 | end | |
| 386 | if ragged == false then | |
| 387 | ragged = true | |
| 388 | human.PlatformStand = true | |
| 389 | if rarm and tors:FindFirstChild("Right Shoulder") then
| |
| 390 | tors:FindFirstChild("Right Shoulder"):Destroy()
| |
| 391 | makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder") | |
| 392 | maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0)) | |
| 393 | end | |
| 394 | if larm and tors:FindFirstChild("Left Shoulder") then
| |
| 395 | tors:FindFirstChild("Left Shoulder"):Destroy()
| |
| 396 | makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder") | |
| 397 | maketouchy(larm, larm, CFrame.new(0, 0.5, 0)) | |
| 398 | end | |
| 399 | if rleg and tors:FindFirstChild("Right Hip") then
| |
| 400 | tors:FindFirstChild("Right Hip"):Destroy()
| |
| 401 | makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip") | |
| 402 | maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0)) | |
| 403 | end | |
| 404 | if lleg and tors:FindFirstChild("Left Hip") then
| |
| 405 | tors:FindFirstChild("Left Hip"):Destroy()
| |
| 406 | makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip") | |
| 407 | maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0)) | |
| 408 | HName.Text = "I WILL EAT YOU.." | |
| 409 | end | |
| 410 | elseif ragged == true then | |
| 411 | ragged = false | |
| 412 | human.Jump = true | |
| 413 | if rarm and tors:FindFirstChild("Right Shoulder") then
| |
| 414 | tors:FindFirstChild("Right Shoulder"):Destroy()
| |
| 415 | makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder") | |
| 416 | rarm:FindFirstChild("touchy"):Destroy()
| |
| 417 | end | |
| 418 | if larm and tors:FindFirstChild("Left Shoulder") then
| |
| 419 | tors:FindFirstChild("Left Shoulder"):Destroy()
| |
| 420 | makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder") | |
| 421 | larm:FindFirstChild("touchy"):Destroy()
| |
| 422 | end | |
| 423 | if rleg and tors:FindFirstChild("Right Hip") then
| |
| 424 | tors:FindFirstChild("Right Hip"):Destroy()
| |
| 425 | makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip") | |
| 426 | rleg:FindFirstChild("touchy"):Destroy()
| |
| 427 | end | |
| 428 | if lleg and tors:FindFirstChild("Left Hip") then
| |
| 429 | tors:FindFirstChild("Left Hip"):Destroy()
| |
| 430 | makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip") | |
| 431 | lleg:FindFirstChild("touchy"):Destroy()
| |
| 432 | end | |
| 433 | RS = tors:FindFirstChild("Right Shoulder")
| |
| 434 | LS = tors:FindFirstChild("Left Shoulder")
| |
| 435 | RH = tors:FindFirstChild("Right Hip")
| |
| 436 | LH = tors:FindFirstChild("Left Hip")
| |
| 437 | RJ = hrp:FindFirstChild("RootJoint")
| |
| 438 | N = tors:FindFirstChild("Neck")
| |
| 439 | HName.Text = "Painis Cupcake" | |
| 440 | end | |
| 441 | end | |
| 442 | function makegloo(paren, co, ci, parto, parti, nam) | |
| 443 | local gloo = Instance.new("Glue")
| |
| 444 | gloo.Name = nam | |
| 445 | gloo.C0 = co | |
| 446 | gloo.C1 = ci | |
| 447 | gloo.Part0 = parto | |
| 448 | gloo.Part1 = parti | |
| 449 | gloo.Parent = paren | |
| 450 | end | |
| 451 | function makejoint(paren, co, ci, parto, parti, nam) | |
| 452 | local gloo = Instance.new("Motor6D")
| |
| 453 | gloo.Name = nam | |
| 454 | gloo.C0 = co | |
| 455 | - | lauf1.SoundId = "rbxassetid://138199573" |
| 455 | + | |
| 456 | gloo.Part0 = parto | |
| 457 | gloo.Part1 = parti | |
| 458 | gloo.Parent = paren | |
| 459 | end | |
| 460 | function maketouchy(parent, limb, cframe) | |
| 461 | local pr = Instance.new("Part")
| |
| 462 | pr.Name = "touchy" | |
| 463 | pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 464 | pr.Transparency = 1 | |
| 465 | pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) | |
| 466 | pr.CanCollide = true | |
| 467 | pr.Anchored = false | |
| 468 | pr.Parent = parent | |
| 469 | local w = Instance.new("Weld")
| |
| 470 | w.Part0 = pr | |
| 471 | w.Part1 = limb | |
| 472 | w.C0 = cframe | |
| 473 | w.Parent = pr | |
| 474 | end | |
| 475 | local clibat, spec | |
| 476 | local dipperhat = chr:FindFirstChild("DXD_DipperHat")
| |
| 477 | local dipperrot | |
| 478 | if dipperhat then | |
| 479 | dipperrot = dipperhat.Handle.HatAttachment.Rotation | |
| 480 | end | |
| 481 | function bat() | |
| 482 | if selected == false or activu == true then | |
| 483 | return | |
| 484 | end | |
| 485 | if batting == false then | |
| 486 | batting = true | |
| 487 | do | |
| 488 | local bmod = Instance.new("Model")
| |
| 489 | bmod.Name = "bmodel" | |
| 490 | bmod.Parent = chr | |
| 491 | local hnd = makepart("Really black", "hnd", 0, 1, "Neon", bmod, rarm.CFrame)
| |
| 492 | local hmes = makemesh("1", Vector3.new(2, 9, 2), nil, hnd)
| |
| 493 | local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
| 494 | local pt1 = makepart("Really black", "pt1", 0, 1, "Neon", bmod, rarm.CFrame)
| |
| 495 | local p1m = makemesh("Sphere", Vector3.new(3,3,3), nil, pt1)
| |
| 496 | local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
| 497 | local pt3 = makepart("Really black", "pt3", 0, 1, "Neon", bmod, rarm.CFrame)
| |
| 498 | local p3m = makemesh("1", Vector3.new(1, 6, 1), nil, pt3)
| |
| 499 | local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil) | |
| 500 | local pt4 = makepart("Really black", "pt4", 0, math.rad(0,1), "Neon", bmod, rarm.CFrame)
| |
| 501 | local p4m = makemesh("FileMesh", Vector3.new(2,2,2), "http://www.roblox.com/asset/?id=", pt4)
| |
| 502 | p4m.TextureId = "http://www.roblox.com/asset/?id=163610739" | |
| 503 | p4m.Scale = Vector3.new(2,2,2) | |
| 504 | local p4w = makeweld(pt4, pt4, hnd, ang(rd(90), rd(0), rd(0)) * cf(0, -1.5, 0), nil) | |
| 505 | local pt5 = makepart("Forest green", "pt5", 0, 1, "Neon", bmod, rarm.CFrame)
| |
| 506 | local p5m = makemesh("Cylinder", Vector3.new(25, 1.5, 1.5), nil, pt5)
| |
| 507 | local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil) | |
| 508 | local swingwoo = Instance.new("Sound")
| |
| 509 | swingwoo.SoundId = "rbxassetid://158037267" | |
| 510 | swingwoo.Pitch = rd2(10, 11) / 10 | |
| 511 | swingwoo.Name = "sweae" | |
| 512 | swingwoo.Volume = 1 | |
| 513 | swingwoo.Parent = hrp | |
| 514 | clibat = tool.Activated:connect(function() | |
| 515 | if selected == false or activu == true or ragged == true then | |
| 516 | return | |
| 517 | end | |
| 518 | activu = true | |
| 519 | for _ = 1, 5 do | |
| 520 | swait() | |
| 521 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 522 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 523 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
| 524 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 525 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 526 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 527 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 528 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 529 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 530 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 531 | end | |
| 532 | local bon = Instance.new("Sound")
| |
| 533 | bon.SoundId = "rbxassetid://220834019" | |
| 534 | bon.Pitch = rd2(10, 12) / 10 | |
| 535 | bon.Volume = 1 | |
| 536 | bon.Parent = hrp | |
| 537 | game.Debris:AddItem(bon, 1) | |
| 538 | bon:Play() | |
| 539 | swingwoo:Play() | |
| 540 | for X = 1, 5 do | |
| 541 | swait() | |
| 542 | if X > 1 then | |
| 543 | hito(pt5, 5, 80, 0.2, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-5, 5), rd2(-40, 40))) | |
| 544 | end | |
| 545 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
| 546 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 547 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
| 548 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 549 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 550 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 551 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 552 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 553 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 554 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 555 | end | |
| 556 | activu = false | |
| 557 | end) | |
| 558 | spec = mouse.KeyDown:connect(function(keya) | |
| 559 | if selected == false or activu == true or ragged == true then | |
| 560 | return | |
| 561 | end | |
| 562 | if keya == "]]" then | |
| 563 | activu = true | |
| 564 | local speed = human.WalkSpeed | |
| 565 | human.WalkSpeed = 0 | |
| 566 | human:SetStateEnabled(3, false) | |
| 567 | local function expa() | |
| 568 | local sond = Instance.new("Sound")
| |
| 569 | sond.Volume = 1.25 | |
| 570 | sond.Pitch = 1 | |
| 571 | sond.EmitterSize = 15 | |
| 572 | sond.SoundId = "rbxassetid://151790502" | |
| 573 | sond.Parent = pt6 | |
| 574 | sond:Play() | |
| 575 | for _ = 1, 3 do | |
| 576 | swait() | |
| 577 | hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7) | |
| 578 | p1m.Scale = p1m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
| 579 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), 0.7) | |
| 580 | p3m.Scale = p3m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
| 581 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7) | |
| 582 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.07500000000000001, 0.07500000000000001, 0.07500000000000001), 0.7) | |
| 583 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -3.75, 0), 0.7) | |
| 584 | p5m.Scale = p5m.Scale:lerp(Vector3.new(64.5, 18.75, 18.75), 0.7) | |
| 585 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -12.075000000000001, 0), 0.7) | |
| 586 | end | |
| 587 | for _ = 1, 5 do | |
| 588 | swait() | |
| 589 | hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7) | |
| 590 | p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
| 591 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7) | |
| 592 | p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
| 593 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7) | |
| 594 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7) | |
| 595 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7) | |
| 596 | p5m.Scale = p5m.Scale:lerp(Vector3.new(63, 12.5, 12.5), 0.7) | |
| 597 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7) | |
| 598 | end | |
| 599 | sond.Pitch = 0.75 | |
| 600 | sond:Play() | |
| 601 | for _ = 1, 3 do | |
| 602 | swait() | |
| 603 | hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7) | |
| 604 | p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
| 605 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7) | |
| 606 | p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
| 607 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7) | |
| 608 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7) | |
| 609 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7) | |
| 610 | p5m.Scale = p5m.Scale:lerp(Vector3.new(156, 37.5, 37.5), 0.7) | |
| 611 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7) | |
| 612 | end | |
| 613 | for _ = 1, 5 do | |
| 614 | swait() | |
| 615 | hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7) | |
| 616 | p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 617 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7) | |
| 618 | p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
| 619 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7) | |
| 620 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7) | |
| 621 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7) | |
| 622 | p5m.Scale = p5m.Scale:lerp(Vector3.new(102, 25, 25), 0.7) | |
| 623 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7) | |
| 624 | end | |
| 625 | sond.Pitch = 0.4 | |
| 626 | sond:Play() | |
| 627 | game.Debris:AddItem(sond, 2) | |
| 628 | for _ = 1, 3 do | |
| 629 | swait() | |
| 630 | hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7) | |
| 631 | p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
| 632 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7) | |
| 633 | p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
| 634 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7) | |
| 635 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7) | |
| 636 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7) | |
| 637 | p5m.Scale = p5m.Scale:lerp(Vector3.new(230.2, 56.25, 56.25), 0.7) | |
| 638 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7) | |
| 639 | end | |
| 640 | for _ = 1, 5 do | |
| 641 | swait() | |
| 642 | hmes.Scale = hmes.Scale:lerp(Vector3.new(14, 63, 14), 0.7) | |
| 643 | p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7) | |
| 644 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7, 0), 0.7) | |
| 645 | p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7) | |
| 646 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7, 0), 0.7) | |
| 647 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002, 0.17500000000000002, 0.17500000000000002), 0.7) | |
| 648 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75, 0), 0.7) | |
| 649 | p5m.Scale = p5m.Scale:lerp(Vector3.new(400, 43.75, 43.75), 0.7) | |
| 650 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -30, 0), 0.7) | |
| 651 | end | |
| 652 | end | |
| 653 | for _ = 1, 3 do | |
| 654 | swait() | |
| 655 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
| 656 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
| 657 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
| 658 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 659 | lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5) | |
| 660 | if dipperhat then | |
| 661 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3) | |
| 662 | end | |
| 663 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 664 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
| 665 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 666 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
| 667 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 668 | end | |
| 669 | for _ = 1, 3 do | |
| 670 | swait() | |
| 671 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
| 672 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
| 673 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
| 674 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 675 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3) | |
| 676 | if dipperhat then | |
| 677 | dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3) | |
| 678 | end | |
| 679 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 680 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
| 681 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 682 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
| 683 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 684 | end | |
| 685 | for _ = 1, 30 do | |
| 686 | swait() | |
| 687 | lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2) | |
| 688 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2) | |
| 689 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.2) | |
| 690 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 691 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2) | |
| 692 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 693 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2) | |
| 694 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 695 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2) | |
| 696 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
| 697 | end | |
| 698 | expa() | |
| 699 | for O = 1, 10 do | |
| 700 | swait() | |
| 701 | lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01) | |
| 702 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01) | |
| 703 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.001 + O * 0.01) | |
| 704 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 705 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01) | |
| 706 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 707 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01) | |
| 708 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 709 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01) | |
| 710 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
| 711 | end | |
| 712 | local whoooo = Instance.new("Sound")
| |
| 713 | whoooo.Volume = 3 | |
| 714 | whoooo.Pitch = 1.1 | |
| 715 | whoooo.SoundId = "rbxassetid://151790502" | |
| 716 | whoooo.Parent = pt5 | |
| 717 | whoooo:Play() | |
| 718 | game.Debris:AddItem(whoooo, 2) | |
| 719 | for O = 1, 1 do | |
| 720 | swait() | |
| 721 | hito(pt5, 70, 808282854, 0.75, hrp.CFrame.rightVector * -10000000 + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160))) | |
| 722 | lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05) | |
| 723 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05) | |
| 724 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(20), rd(20)), 0.1 + O * 0.05) | |
| 725 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 726 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05) | |
| 727 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 728 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05) | |
| 729 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 730 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05) | |
| 731 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
| 732 | end | |
| 733 | for O = 1, 13 do | |
| 734 | swait() | |
| 735 | hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075) | |
| 736 | p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 737 | p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075) | |
| 738 | p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
| 739 | p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075) | |
| 740 | p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075) | |
| 741 | p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075) | |
| 742 | p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 1, 1), 0.05 + O * 0.075) | |
| 743 | p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075) | |
| 744 | lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075) | |
| 745 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075) | |
| 746 | lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075) | |
| 747 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 748 | lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075) | |
| 749 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 750 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075) | |
| 751 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 752 | lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075) | |
| 753 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
| 754 | end | |
| 755 | if dipperhat then | |
| 756 | dipperhat.Handle.HatAttachment.Rotation = dipperrot | |
| 757 | end | |
| 758 | human.WalkSpeed = speed | |
| 759 | human:SetStateEnabled(3, true) | |
| 760 | activu = false | |
| 761 | end | |
| 762 | if keya == "q" then | |
| 763 | activu = true | |
| 764 | do | |
| 765 | local checkkey = true | |
| 766 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 767 | if xzx == "q" then | |
| 768 | checkkey = false | |
| 769 | end | |
| 770 | end) | |
| 771 | repeat | |
| 772 | for _ = 1, 2 do | |
| 773 | swait() | |
| 774 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
| 775 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 776 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(-20), rd(80)), 0.7) | |
| 777 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 778 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
| 779 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 780 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 781 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 782 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
| 783 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 784 | end | |
| 785 | swingwoo:Play() | |
| 786 | for T = 1, 2 do | |
| 787 | swait() | |
| 788 | if T == 2 then | |
| 789 | hito(pt5, 7, 30, 0.03, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-2, 2), rd2(-10, 10))) | |
| 790 | end | |
| 791 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
| 792 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 793 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(40)), 0.7) | |
| 794 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 795 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 796 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 797 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
| 798 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 799 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
| 800 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 801 | end | |
| 802 | for _ = 1, 2 do | |
| 803 | swait() | |
| 804 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7) | |
| 805 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 806 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7) | |
| 807 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 808 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7) | |
| 809 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 810 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 811 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 812 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7) | |
| 813 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 814 | end | |
| 815 | swingwoo:Play() | |
| 816 | for T = 1, 2 do | |
| 817 | swait() | |
| 818 | if T == 2 then | |
| 819 | hito(pt5, 7, 30, 0.03, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-2, 2), rd2(-10, 10))) | |
| 820 | end | |
| 821 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7) | |
| 822 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
| 823 | lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7) | |
| 824 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 825 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
| 826 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 827 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
| 828 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 829 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7) | |
| 830 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
| 831 | end | |
| 832 | until not checkkey | |
| 833 | keyingup:Disconnect() | |
| 834 | activu = false | |
| 835 | end | |
| 836 | end | |
| 837 | if keya == "f" then | |
| 838 | activu = true | |
| 839 | do | |
| 840 | local speed = human.WalkSpeed | |
| 841 | human.WalkSpeed = 10 | |
| 842 | human:SetStateEnabled(3, false) | |
| 843 | local checkkey = true | |
| 844 | local chargecounter = 0 | |
| 845 | local keyingup = mouse.KeyUp:connect(function(xzx) | |
| 846 | if xzx == "f" then | |
| 847 | checkkey = false | |
| 848 | end | |
| 849 | end) | |
| 850 | local firederp | |
| 851 | for _ = 1, 8 do | |
| 852 | swait() | |
| 853 | hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 854 | lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
| 855 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
| 856 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
| 857 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 858 | lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
| 859 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
| 860 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
| 861 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
| 862 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
| 863 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
| 864 | end | |
| 865 | repeat | |
| 866 | swait() | |
| 867 | chargecounter = chargecounter + 1 | |
| 868 | 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.019) | |
| 869 | 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.019) | |
| 870 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.019) | |
| 871 | if chargecounter > 30 and firederp == nil then | |
| 872 | local colorKeyPoints={ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),
| |
| 873 | ColorSequenceKeypoint.new(1,Color3.new(1,1,1)) | |
| 874 | } | |
| 875 | local sizeKeyPoints={NumberSequenceKeypoint.new(0,.25),
| |
| 876 | NumberSequenceKeypoint.new(1,1), | |
| 877 | NumberSequenceKeypoint.new(1,0) | |
| 878 | } | |
| 879 | local opacityKeyPoints={NumberSequenceKeypoint.new(0,0);
| |
| 880 | NumberSequenceKeypoint.new(.793,0); | |
| 881 | NumberSequenceKeypoint.new(1,1); | |
| 882 | } | |
| 883 | local runRing=Instance.new('ParticleEmitter',pt1)
| |
| 884 | runRing.LightEmission=0 | |
| 885 | runRing.Color=ColorSequence.new(colorKeyPoints) | |
| 886 | runRing.Size=NumberSequence.new(sizeKeyPoints) | |
| 887 | runRing.Texture='rbxassetid://720401995' | |
| 888 | runRing.LockedToPart = false | |
| 889 | runRing.Transparency=NumberSequence.new(opacityKeyPoints) | |
| 890 | runRing.Lifetime=NumberRange.new(1,2) | |
| 891 | runRing.Rate=100 | |
| 892 | runRing.Rotation=NumberRange.new(0,360) | |
| 893 | runRing.RotSpeed=NumberRange.new(-20,20) | |
| 894 | runRing.Speed=NumberRange.new(4) | |
| 895 | runRing.VelocitySpread=10 | |
| 896 | wait(.1) | |
| 897 | runRing.Enabled = false | |
| 898 | end | |
| 899 | until not checkkey or chargecounter > 50 | |
| 900 | swingwoo:Play() | |
| 901 | sbchat("I WILL EAT YOU",'[Bonk Boy]')
| |
| 902 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I WILL EAT YOU", "Red") | |
| 903 | for U = 1, 10 do | |
| 904 | swait() | |
| 905 | if U < 3 then | |
| 906 | hito(pt5, 8, math.huge, 0.2, hrp.CFrame.lookVector * (math.huge + chargecounter * math.huge) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 25))) | |
| 907 | if chargecounter > 30 then | |
| 908 | tagexplode(pt5, 5, 1) | |
| 909 | end | |
| 910 | end | |
| 911 | hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
| 912 | lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
| 913 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
| 914 | lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
| 915 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
| 916 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
| 917 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
| 918 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
| 919 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
| 920 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
| 921 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
| 922 | end | |
| 923 | if firederp then | |
| 924 | firederp:Destroy() | |
| 925 | end | |
| 926 | swait(10) | |
| 927 | hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
| 928 | keyingup:Disconnect() | |
| 929 | human.WalkSpeed = speed | |
| 930 | human:SetStateEnabled(3, true) | |
| 931 | activu = false | |
| 932 | HName.Text = "Bonk Boy" | |
| 933 | end | |
| 934 | end | |
| 935 | end) | |
| 936 | end | |
| 937 | elseif batting == true then | |
| 938 | batting = false | |
| 939 | clibat:Disconnect() | |
| 940 | spec:Disconnect() | |
| 941 | hrp.sweae:Destroy() | |
| 942 | local batmod = chr:FindFirstChild("bmodel")
| |
| 943 | batmod.hnd.Weld:Destroy() | |
| 944 | batmod.PrimaryPart = batmod.hnd | |
| 945 | batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
| 946 | for _, A in pairs(batmod:GetChildren()) do | |
| 947 | if A.ClassName == "Part" then | |
| 948 | A.CanCollide = true | |
| 949 | A.Anchored = false | |
| 950 | end | |
| 951 | end | |
| 952 | batmod.Parent = workspace | |
| 953 | game.Debris:AddItem(batmod, 8) | |
| 954 | end | |
| 955 | end | |
| 956 | local movin = false | |
| 957 | local cliham, hamspec | |
| 958 | function ham() | |
| 959 | if batting == false then | |
| 960 | batting = true | |
| 961 | do | |
| 962 | local bmod = Instance.new("Model")
| |
| 963 | bmod.Name = "bmodel" | |
| 964 | bmod.Parent = chr | |
| 965 | local makemotor = function(parent, p0, p1, c0, c1) | |
| 966 | local wel = Instance.new("Motor6D")
| |
| 967 | wel.Part0 = p0 | |
| 968 | wel.Part1 = p1 | |
| 969 | wel.C0 = c0 | |
| 970 | if c1 ~= nil then | |
| 971 | wel.C1 = c1 | |
| 972 | end | |
| 973 | wel.Parent = parent | |
| 974 | return wel | |
| 975 | end | |
| 976 | local hnd = makepart("Br. yellowish green", "hnd", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 977 | hnd.Anchored = true | |
| 978 | local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd)
| |
| 979 | movin = true | |
| 980 | hnd.CFrame = hrp.CFrame | |
| 981 | coroutine.resume(coroutine.create(function() | |
| 982 | while hnd.Anchored == true do | |
| 983 | swait() | |
| 984 | if movin then | |
| 985 | hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65) | |
| 986 | end | |
| 987 | end | |
| 988 | end)) | |
| 989 | sbchat("MAGGOT!",'[Big Smoke]')
| |
| 990 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I WILL EAT YOU!", "Red") | |
| 991 | local pt1 = makepart("Br. yellowish green", "pt1", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 992 | local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1)
| |
| 993 | local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil) | |
| 994 | local pt2 = makepart("Br. yellowish green", "pt2", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 995 | local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2)
| |
| 996 | local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil) | |
| 997 | local pt3 = makepart("Bright yellow", "pt3", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 998 | local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3)
| |
| 999 | local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil) | |
| 1000 | local pt4 = makepart("Br. yellowish green", "pt4", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1001 | local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://250640098", pt4)
| |
| 1002 | p4m.TextureId = "rbxassetid://250639536" | |
| 1003 | local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil) | |
| 1004 | local pt5 = makepart("Bright blue", "pt5", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1005 | local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5)
| |
| 1006 | local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil) | |
| 1007 | local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1008 | local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://", pt6)
| |
| 1009 | p6m.TextureId = "rbxassetid://" | |
| 1010 | p6m.Scale = Vector3.new(0.5,0.50,0.5) | |
| 1011 | local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil) | |
| 1012 | local pt7 = makepart("Bright yellow", "pt7", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1013 | local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7)
| |
| 1014 | local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil) | |
| 1015 | local pt8 = makepart("Bright yellow", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1016 | local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8)
| |
| 1017 | local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil) | |
| 1018 | local hdec2 = Instance.new("Decal")
| |
| 1019 | local pt9 = makepart("Bright yellow", "pt9", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1020 | local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://", pt9)
| |
| 1021 | local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil) | |
| 1022 | p9m.TextureId = "rbxassetid://" | |
| 1023 | local pt10 = makepart("Bright yellow", "pt10", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1024 | local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10)
| |
| 1025 | local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil) | |
| 1026 | local hdec3 = Instance.new("Decal")
| |
| 1027 | local pt11 = makepart("Bright yellow", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1028 | local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11)
| |
| 1029 | local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil) | |
| 1030 | local pt12 = makepart("Bright yellow", "pt12", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1031 | local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12)
| |
| 1032 | local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil) | |
| 1033 | local pt13 = makepart("Bright yellow", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
| |
| 1034 | local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13)
| |
| 1035 | local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil) | |
| 1036 | cliham = tool.Activated:connect(function() | |
| 1037 | if selected == false or activu == true or ragged == true then | |
| 1038 | return | |
| 1039 | end | |
| 1040 | activu = true | |
| 1041 | movin = false | |
| 1042 | for B = 1, 20 do | |
| 1043 | swait() | |
| 1044 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4) | |
| 1045 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4) | |
| 1046 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4) | |
| 1047 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1048 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4) | |
| 1049 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1050 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4) | |
| 1051 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1052 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4) | |
| 1053 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
| 1054 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045) | |
| 1055 | end | |
| 1056 | for B = 1, 30 do | |
| 1057 | swait() | |
| 1058 | lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80) | |
| 1059 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80) | |
| 1060 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80) | |
| 1061 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 1062 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80) | |
| 1063 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 1064 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80) | |
| 1065 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 1066 | lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80) | |
| 1067 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
| 1068 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 1069 | end | |
| 1070 | for B = 1, 7 do | |
| 1071 | swait() | |
| 1072 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15) | |
| 1073 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15) | |
| 1074 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15) | |
| 1075 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 1076 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15) | |
| 1077 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 1078 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15) | |
| 1079 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 1080 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15) | |
| 1081 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
| 1082 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 1083 | end | |
| 1084 | for B = 1, 8 do | |
| 1085 | swait() | |
| 1086 | hito(pt6, 20, 808282854, 0.75, hrp.CFrame.rightVector * math.huge + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160))) | |
| 1087 | lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1) | |
| 1088 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1) | |
| 1089 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1) | |
| 1090 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 1091 | lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1) | |
| 1092 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 1093 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1) | |
| 1094 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 1095 | lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1) | |
| 1096 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
| 1097 | hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
| 1098 | local exp = Instance.new("Explosion",plr.Character)
| |
| 1099 | exp.Position = pt6.Position | |
| 1100 | exp.BlastRadius = 0 | |
| 1101 | end | |
| 1102 | swait(15) | |
| 1103 | movin = true | |
| 1104 | sbchat("MAGGOT!",'[Bonk Boy]')
| |
| 1105 | activu = false | |
| 1106 | end) | |
| 1107 | end | |
| 1108 | elseif batting == true then | |
| 1109 | batting = false | |
| 1110 | cliham:Disconnect() | |
| 1111 | local badevz = chr:FindFirstChild("bmodel")
| |
| 1112 | badevz.PrimaryPart = badevz.hnd | |
| 1113 | for _, A in pairs(badevz:GetChildren()) do | |
| 1114 | if A.ClassName == "Part" then | |
| 1115 | A.CanCollide = true | |
| 1116 | A.Anchored = false | |
| 1117 | end | |
| 1118 | end | |
| 1119 | movin = false | |
| 1120 | badevz.Parent = workspace | |
| 1121 | badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0)) | |
| 1122 | game.Debris:AddItem(badevz, 8) | |
| 1123 | end | |
| 1124 | end | |
| 1125 | game:GetService("ContentProvider"):Preload("rbxassetid://725969678")
| |
| 1126 | function lauf() | |
| 1127 | if selected == false or activu == true then | |
| 1128 | return | |
| 1129 | end | |
| 1130 | lauf1:Play() | |
| 1131 | end | |
| 1132 | function makenoob(cfrem, scalo, rags) | |
| 1133 | nscale.Value = scalo | |
| 1134 | local md = Instance.new("Model")
| |
| 1135 | md.Name = "Bonk Clone" | |
| 1136 | md.Parent = workspace | |
| 1137 | local hu = Instance.new("Humanoid")
| |
| 1138 | hu.RigType = "R6" | |
| 1139 | hu.MaxHealth = 100 * scalo | |
| 1140 | hu.Health = 100 * scalo | |
| 1141 | hu.Parent = md | |
| 1142 | local anm = Instance.new("Animator")
| |
| 1143 | anm.Parent = hu | |
| 1144 | hu.PlatformStand = true | |
| 1145 | local light = function(part) | |
| 1146 | part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5) | |
| 1147 | end | |
| 1148 | local hd = Instance.new("Part")
| |
| 1149 | hd.Name = "Head" | |
| 1150 | hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
| 1151 | hd.TopSurface = "Smooth" | |
| 1152 | hd.BottomSurface = "Inlet" | |
| 1153 | hd.Locked = true | |
| 1154 | hd.BrickColor = BrickColor.random() | |
| 1155 | hd.CanCollide = true | |
| 1156 | hd.Anchored = false | |
| 1157 | light(hd) | |
| 1158 | hd.Parent = md | |
| 1159 | local hm = Instance.new("SpecialMesh")
| |
| 1160 | hm.MeshType = "Head" | |
| 1161 | hm.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 1162 | hm.Parent = hd | |
| 1163 | local hf = Instance.new("Decal")
| |
| 1164 | hf.Texture = "rbxasset://textures/" | |
| 1165 | local gen = math.random(1, 40) | |
| 1166 | if gen == 3 then | |
| 1167 | hf.Texture = "rbxassetid://101912931" | |
| 1168 | end | |
| 1169 | if gen == 8 then | |
| 1170 | hf.Texture = "rbxassetid://548947987" | |
| 1171 | end | |
| 1172 | if gen == 12 then | |
| 1173 | hf.Texture = "rbxassetid://259580505" | |
| 1174 | end | |
| 1175 | if gen == 16 then | |
| 1176 | hf.Texture = "rbxassetid://259579232" | |
| 1177 | end | |
| 1178 | if gen == 24 then | |
| 1179 | hf.Texture = "rbxassetid://259571525" | |
| 1180 | end | |
| 1181 | if gen == 28 then | |
| 1182 | hf.Texture = "rbxassetid://258283210" | |
| 1183 | end | |
| 1184 | if gen == 32 then | |
| 1185 | hf.Texture = "rbxassetid://258940032" | |
| 1186 | end | |
| 1187 | if gen == 38 then | |
| 1188 | hf.Texture = "rbxassetid://673220970" | |
| 1189 | hf.Color3 = Color3.new(0, 0, 0) | |
| 1190 | end | |
| 1191 | hf.Face = "Front" | |
| 1192 | hf.Parent = hd | |
| 1193 | local hrpa = Instance.new("Part")
| |
| 1194 | hrpa.Name = "HumanoidRootPart" | |
| 1195 | hrpa.TopSurface, hrpa.BottomSurface = 0, 0 | |
| 1196 | hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1197 | hrpa.Transparency = 1 | |
| 1198 | hrpa.CanCollide = false | |
| 1199 | hrpa.Locked = true | |
| 1200 | light(hrpa) | |
| 1201 | hrpa.Parent = md | |
| 1202 | local tagbomb = Instance.new("BoolValue")
| |
| 1203 | tagbomb.Name = "tagbomb" | |
| 1204 | tagbomb.Value = false | |
| 1205 | tagbomb.Parent = hrpa | |
| 1206 | local learm = Instance.new("Part")
| |
| 1207 | learm.Name = "Left Arm" | |
| 1208 | learm.BrickColor = BrickColor.random() | |
| 1209 | learm.CanCollide = false | |
| 1210 | learm.Locked = true | |
| 1211 | learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1212 | light(learm) | |
| 1213 | learm.Parent = md | |
| 1214 | local riarm = Instance.new("Part")
| |
| 1215 | riarm.Name = "Right Arm" | |
| 1216 | riarm.BrickColor = BrickColor.random() | |
| 1217 | riarm.CanCollide = false | |
| 1218 | riarm.Locked = true | |
| 1219 | light(riarm) | |
| 1220 | riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1221 | riarm.Parent = md | |
| 1222 | local leleg = Instance.new("Part")
| |
| 1223 | leleg.Name = "Left Leg" | |
| 1224 | leleg.BrickColor = BrickColor.random() | |
| 1225 | leleg.CanCollide = false | |
| 1226 | leleg.Locked = true | |
| 1227 | light(leleg) | |
| 1228 | leleg.BottomSurface = 0 | |
| 1229 | leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1230 | leleg.Parent = md | |
| 1231 | local rileg = Instance.new("Part")
| |
| 1232 | rileg.Name = "Right Leg" | |
| 1233 | rileg.BrickColor = BrickColor.random() | |
| 1234 | rileg.CanCollide = false | |
| 1235 | rileg.Locked = true | |
| 1236 | light(rileg) | |
| 1237 | rileg.BottomSurface = 0 | |
| 1238 | rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1239 | rileg.Parent = md | |
| 1240 | local tor = Instance.new("Part")
| |
| 1241 | tor.Name = "Torso" | |
| 1242 | tor.BrickColor = BrickColor.random() | |
| 1243 | tor.Locked = true | |
| 1244 | light(tor) | |
| 1245 | tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
| 1246 | tor.LeftSurface, tor.RightSurface = "Weld", "Weld" | |
| 1247 | tor.Parent = md | |
| 1248 | md.PrimaryPart = hrpa | |
| 1249 | md:SetPrimaryPartCFrame(cfrem) | |
| 1250 | md:makeJoints() | |
| 1251 | makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint") | |
| 1252 | makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck") | |
| 1253 | if rags == true then | |
| 1254 | makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 1255 | makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 1256 | makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 1257 | makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 1258 | maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1259 | maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1260 | maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1261 | maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
| 1262 | elseif rags == false then | |
| 1263 | makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
| 1264 | makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
| 1265 | makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
| 1266 | makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
| 1267 | hu.PlatformStand = false | |
| 1268 | end | |
| 1269 | nscale.Value = 1 | |
| 1270 | hu.Touched:connect(function(tpart, uwot) | |
| 1271 | if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md then | |
| 1272 | tagbomb.Value = false | |
| 1273 | hu.Health = 0 | |
| 1274 | local derp = Instance.new("Explosion")
| |
| 1275 | derp.BlastPressure = 200 | |
| 1276 | derp.BlastRadius = 8 | |
| 1277 | derp.DestroyJointRadiusPercent = 0 | |
| 1278 | derp.ExplosionType = 2 | |
| 1279 | derp.Visible = true | |
| 1280 | derp.Position = uwot.Position - Vector3.new(0, 0.5, 0) | |
| 1281 | derp.Parent = workspace | |
| 1282 | game.Debris:AddItem(md, 8) | |
| 1283 | end | |
| 1284 | end) | |
| 1285 | return md | |
| 1286 | end | |
| 1287 | function makecircle(cfrem, scalo) | |
| 1288 | local mcir1 = Instance.new("Part")
| |
| 1289 | mcir1.Anchored = true | |
| 1290 | mcir1.CanCollide = false | |
| 1291 | mcir1.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1292 | mcir1.Transparency = 1 | |
| 1293 | mcir1.CFrame = cfrem | |
| 1294 | mcir1.Parent = modz | |
| 1295 | game.Debris:AddItem(mcir1, 8) | |
| 1296 | local d1 = Instance.new("Decal")
| |
| 1297 | d1.Texture = "rbxassetid://557132029" | |
| 1298 | d1.Face = "Front" | |
| 1299 | d1.Parent = mcir1 | |
| 1300 | local d2 = Instance.new("Decal")
| |
| 1301 | d2.Texture = "rbxassetid://0" | |
| 1302 | d2.Face = "Back" | |
| 1303 | d2.Parent = mcir1 | |
| 1304 | local bme = Instance.new("BlockMesh")
| |
| 1305 | bme.Parent = mcir1 | |
| 1306 | for _ = 1, 9 do | |
| 1307 | swait() | |
| 1308 | bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3) | |
| 1309 | end | |
| 1310 | coroutine.resume(coroutine.create(function() | |
| 1311 | swait(15) | |
| 1312 | for _ = 1, 12 do | |
| 1313 | swait() | |
| 1314 | d1.Transparency = d1.Transparency + 0.08 | |
| 1315 | d2.Transparency = d2.Transparency + 0.08 | |
| 1316 | end | |
| 1317 | mcir1:Destroy() | |
| 1318 | end)) | |
| 1319 | return mcir1 | |
| 1320 | end | |
| 1321 | function spawnnoob(circlecf, noobcf, scalez, ragd) | |
| 1322 | local aearae = makecircle(circlecf, scalez) | |
| 1323 | local nananb | |
| 1324 | if ragd then | |
| 1325 | nananb = makenoob(aearae.CFrame * noobcf, scalez, true) | |
| 1326 | elseif not ragd then | |
| 1327 | nananb = makenoob(aearae.CFrame * noobcf, scalez, false) | |
| 1328 | end | |
| 1329 | return nananb | |
| 1330 | end | |
| 1331 | function tagexplode(partoz, magn, bombdelay) | |
| 1332 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1333 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Skid" and guy.Name == "Dummy" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then
| |
| 1334 | coroutine.resume(coroutine.create(function() | |
| 1335 | swait(bombdelay * 0) | |
| 1336 | guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true
| |
| 1337 | end)) | |
| 1338 | end | |
| 1339 | end | |
| 1340 | end | |
| 1341 | function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot) | |
| 1342 | for _, guy in pairs(workspace:GetChildren()) do | |
| 1343 | 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
| |
| 1344 | do | |
| 1345 | local humz = guy:FindFirstChild("Humanoid")
| |
| 1346 | local horp = guy:FindFirstChild("HumanoidRootPart")
| |
| 1347 | humz:TakeDamage(9e999) | |
| 1348 | humz:SetStateEnabled(16, true) | |
| 1349 | delay(debtim, function() | |
| 1350 | humz:SetStateEnabled(16, true) | |
| 1351 | end) | |
| 1352 | local db = Instance.new("StringValue")
| |
| 1353 | db.Name = "alabo" | |
| 1354 | db.Parent = horp | |
| 1355 | delay(debtim, function() | |
| 1356 | db:Destroy() | |
| 1357 | end) | |
| 1358 | local b = Instance.new("Part")
| |
| 1359 | nooutline(b) | |
| 1360 | b.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1361 | b.Transparency = 0 | |
| 1362 | b.Anchored = true | |
| 1363 | b.CanCollide = false | |
| 1364 | b.Material = "Neon" | |
| 1365 | b.BrickColor = BrickColor.new("Bright red")
| |
| 1366 | b.Locked = true | |
| 1367 | b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))*CFrame.Angles(math.random(1412),math.random(423532),math.random(1312)) | |
| 1368 | b.Parent = modz | |
| 1369 | local c = Instance.new("SpecialMesh")
| |
| 1370 | c.MeshType = "Sphere" | |
| 1371 | c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
| 1372 | c.Parent = b | |
| 1373 | game.Debris:AddItem(b, 1) | |
| 1374 | if bodyfdire then | |
| 1375 | local boopyve = Instance.new("BodyVelocity")
| |
| 1376 | boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
| 1377 | boopyve.P = 9999999999 | |
| 1378 | boopyve.Velocity = bodyfdire | |
| 1379 | boopyve.Parent = horp | |
| 1380 | game.Debris:AddItem(boopyve, debtim) | |
| 1381 | end | |
| 1382 | if bodyrot then | |
| 1383 | local boopyro = Instance.new("BodyAngularVelocity")
| |
| 1384 | boopyro.MaxTorque = Vector3.new(999999, 999999, 999999) | |
| 1385 | boopyro.P = math.huge | |
| 1386 | boopyro.AngularVelocity = bodyrot | |
| 1387 | boopyro.Parent = horp | |
| 1388 | game.Debris:AddItem(boopyro, debtim) | |
| 1389 | end | |
| 1390 | local bet = Instance.new("Sound")
| |
| 1391 | bet.Pitch = rd2(9, 11) / 10 | |
| 1392 | bet.Volume = rd2(12, 14) / 10 | |
| 1393 | bet.SoundId = "rbxassetid://175024455" | |
| 1394 | bet.Parent = b | |
| 1395 | bet:Play() | |
| 1396 | coroutine.resume(coroutine.create(function() | |
| 1397 | for _ = 1, 24 do | |
| 1398 | swait() | |
| 1399 | b.Transparency = b.Transparency + 0.08 | |
| 1400 | c.Scale = c.Scale + Vector3.new(.8 * dmg, .8 * dmg, .8 * dmg) | |
| 1401 | end | |
| 1402 | end)) | |
| 1403 | end | |
| 1404 | end | |
| 1405 | end | |
| 1406 | end | |
| 1407 | function cleannoobs() | |
| 1408 | for _, nib in pairs(workspace:GetChildren()) do | |
| 1409 | coroutine.resume(coroutine.create(function() | |
| 1410 | if nib.Name == "Noob" then | |
| 1411 | if nib:FindFirstChild("HumanoidRootPart") then
| |
| 1412 | local g = Instance.new("Part")
| |
| 1413 | g.CanCollide, g.Anchored = false, true | |
| 1414 | g.Transparency = 1 | |
| 1415 | g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
| |
| 1416 | g.Parent = workspace | |
| 1417 | game.Debris:AddItem(g, 3.5) | |
| 1418 | local sou = Instance.new("Sound")
| |
| 1419 | sou.Pitch = 0 | |
| 1420 | sou.Volume = 3 | |
| 1421 | sou.SoundId = "rbxassetid://151790502" | |
| 1422 | sou.Parent = g | |
| 1423 | local pe = Instance.new("ParticleEmitter")
| |
| 1424 | pe.Acceleration = Vector3.new(0, 8, 0) | |
| 1425 | pe.Lifetime = NumberRange.new(1, 1.5) | |
| 1426 | pe.Rate = 0.005 | |
| 1427 | pe.RotSpeed = NumberRange.new(-30, 30) | |
| 1428 | pe.Rotation = NumberRange.new(0, 360) | |
| 1429 | pe.Size = NumberSequence.new({
| |
| 1430 | NumberSequenceKeypoint.new(0, 4.38, 0), | |
| 1431 | NumberSequenceKeypoint.new(0.672, 4.14, 0), | |
| 1432 | NumberSequenceKeypoint.new(1, 1.48, 0) | |
| 1433 | }) | |
| 1434 | pe.Texture = "rbxassetid://244221440" | |
| 1435 | pe.Transparency = NumberSequence.new({
| |
| 1436 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1437 | NumberSequenceKeypoint.new(0.529, 0.3, 0), | |
| 1438 | NumberSequenceKeypoint.new(1, 1, 1) | |
| 1439 | }) | |
| 1440 | pe.ZOffset = 5 | |
| 1441 | pe.Enabled = true | |
| 1442 | pe.VelocitySpread = 360 | |
| 1443 | pe.Parent = g | |
| 1444 | swait(5) | |
| 1445 | pe:Emit(6) | |
| 1446 | sou:Play() | |
| 1447 | end | |
| 1448 | nib:Destroy() | |
| 1449 | end | |
| 1450 | end)) | |
| 1451 | end | |
| 1452 | end | |
| 1453 | function animo(yep) | |
| 1454 | if yep == true then | |
| 1455 | anim.Parent = human | |
| 1456 | chr.Animate.Disabled = false | |
| 1457 | elseif yep == false then | |
| 1458 | chr.Animate.Disabled = true | |
| 1459 | anim.Parent = nil | |
| 1460 | end | |
| 1461 | end | |
| 1462 | mouse.KeyDown:connect(function(key) | |
| 1463 | if key == "r" then | |
| 1464 | test() | |
| 1465 | end | |
| 1466 | if key == "m" then | |
| 1467 | lauf() | |
| 1468 | end | |
| 1469 | if key == "c" then | |
| 1470 | ham() | |
| 1471 | end | |
| 1472 | if key == "x" then | |
| 1473 | bat() | |
| 1474 | end | |
| 1475 | if key == "l" and selected == true then | |
| 1476 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, true) | |
| 1477 | end | |
| 1478 | if key == "h" and selected == true then | |
| 1479 | spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true) | |
| 1480 | end | |
| 1481 | if key == "k" and selected == true then | |
| 1482 | spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false) | |
| 1483 | end | |
| 1484 | if key == "p" then | |
| 1485 | cleannoobs() | |
| 1486 | end | |
| 1487 | if key == "e" then | |
| 1488 | local so = Instance.new("Sound",plr.Character)
| |
| 1489 | so.SoundId = "rbxassetid://397585357" | |
| 1490 | so.Volume = 10 | |
| 1491 | so:Play() | |
| 1492 | HName.Text = "MAGGOT!" | |
| 1493 | sbchat("THAT'S WHAT I'M TALKING ABOUT!",'[Bonk Boy]')
| |
| 1494 | wait(2) | |
| 1495 | game.Players.LocalPlayer.PlayerGui.SB_DataTransfer.SB_CommandRemote.Value = "g/fl" | |
| 1496 | HName.Text = "Painis Cupcake" | |
| 1497 | end | |
| 1498 | if key == "z" then | |
| 1499 | if selected == false or activu == true then | |
| 1500 | return | |
| 1501 | end | |
| 1502 | if human.WalkSpeed == 25 then | |
| 1503 | human.WalkSpeed = 100 | |
| 1504 | human.JumpPower = 125 | |
| 1505 | else | |
| 1506 | human.WalkSpeed = 25 | |
| 1507 | human.JumpPower = 50 | |
| 1508 | end | |
| 1509 | end | |
| 1510 | end) | |
| 1511 | tool.Equipped:connect(function() | |
| 1512 | selected = true | |
| 1513 | end) | |
| 1514 | tool.Unequipped:connect(function() | |
| 1515 | selected = false | |
| 1516 | end) | |
| 1517 | animo(false) | |
| 1518 | human.WalkSpeed = 25 | |
| 1519 | sine = 0 | |
| 1520 | charge = 1 | |
| 1521 | cos = math.cos | |
| 1522 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 1523 | if ragged == false and activu == false then | |
| 1524 | local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
| 1525 | local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
| |
| 1526 | local checkstate = human:GetState() | |
| 1527 | if checkstate.Value == 13 then | |
| 1528 | animpose = "Sitting" | |
| 1529 | elseif hrp.Velocity.y > 1 and checkpart == nil then | |
| 1530 | animpose = "Jumping" | |
| 1531 | elseif hrp.Velocity.y < -1 and checkpart == nil then | |
| 1532 | animpose = "Falling" | |
| 1533 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 1534 | animpose = "Idle" | |
| 1535 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then | |
| 1536 | animpose = "Walking" | |
| 1537 | elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then | |
| 1538 | animpose = "TooFast" | |
| 1539 | end | |
| 1540 | if animpose == "Idle" then | |
| 1541 | sine = sine + charge | |
| 1542 | 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) | |
| 1543 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3) | |
| 1544 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3) | |
| 1545 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1546 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(100), rd(-40), rd(-32)), 0.3) | |
| 1547 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1548 | 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) | |
| 1549 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1550 | 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) | |
| 1551 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1552 | end | |
| 1553 | if animpose == "Walking" then | |
| 1554 | sine = sine + charge | |
| 1555 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0 * cos(sine / 4)) * ang(rd(20), math.sin(hrp.RotVelocity.Y / 80), 0), 0.3) | |
| 1556 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3) | |
| 1557 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.6) | |
| 1558 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1559 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(100), rd(-40), rd(-32)), 0.6) | |
| 1560 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1561 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 8))), 0.6) | |
| 1562 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1563 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 8))), 0.6) | |
| 1564 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1565 | end | |
| 1566 | if animpose == "Jumping" then | |
| 1567 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3) | |
| 1568 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
| 1569 | lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3) | |
| 1570 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1571 | lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3) | |
| 1572 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1573 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3) | |
| 1574 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1575 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3) | |
| 1576 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1577 | end | |
| 1578 | if animpose == "Falling" then | |
| 1579 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
| 1580 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
| 1581 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3) | |
| 1582 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1583 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3) | |
| 1584 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1585 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3) | |
| 1586 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1587 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3) | |
| 1588 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1589 | end | |
| 1590 | if animpose == "TooFast" then | |
| 1591 | sine = sine + charge | |
| 1592 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(30), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3) | |
| 1593 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3) | |
| 1594 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-80)), 0.6) | |
| 1595 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1596 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(110), rd(-40), rd(-35)), 0.6) | |
| 1597 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1598 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 3))), 0.6) | |
| 1599 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1600 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 3))), 0.6) | |
| 1601 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1602 | end | |
| 1603 | if animpose == "Sitting" then | |
| 1604 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1605 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1606 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1607 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1608 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 1609 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1610 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
| 1611 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1612 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
| 1613 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
| 1614 | end | |
| 1615 | end | |
| 1616 | end) | |
| 1617 | if plr.Character.Humanoid.PlatformStand == true then | |
| 1618 | plr.Character.Humanoid.PlatformStand = false | |
| 1619 | end | |
| 1620 | plr.Character.Humanoid.Died:connect(function() | |
| 1621 | s:Stop() | |
| 1622 | HName.TextColor3 = BrickColor.new("Hot white").Color
| |
| 1623 | HName.Text = "BONK...." | |
| 1624 | local f = Instance.new("Explosion",plr.Character.Torso)
| |
| 1625 | f.Position = plr.Character.Torso.Position | |
| 1626 | f.BlastRadius = 0 | |
| 1627 | local m = Instance.new("Sound",Workspace)
| |
| 1628 | m.SoundId = "rbxassetid://138152340" | |
| 1629 | m.Volume = 10 | |
| 1630 | m:Play() | |
| 1631 | end) | |
| 1632 | --------------------------Gui--------------------------- | |
| 1633 | makeframe = function(par, trans, pos, size, color) | |
| 1634 | local frame = Instance.new("Frame", par)
| |
| 1635 | frame.BackgroundTransparency = trans | |
| 1636 | frame.BorderSizePixel = 1 | |
| 1637 | frame.BorderColor3 = BrickColor.Black().Color | |
| 1638 | frame.Position = pos | |
| 1639 | frame.Size = size | |
| 1640 | frame.BackgroundColor3 = BrickColor.new("Forest green").Color
| |
| 1641 | frame.ZIndex = 5 | |
| 1642 | return frame | |
| 1643 | end | |
| 1644 | ||
| 1645 | makelabel = function(par, text) | |
| 1646 | local label = Instance.new("TextLabel", par)
| |
| 1647 | label.BackgroundTransparency = 1 | |
| 1648 | label.Size = ud(1, 0, 1, 0) | |
| 1649 | label.Position = ud(0, 0, 0, 0) | |
| 1650 | label.TextColor3 = c3(1,1,1) | |
| 1651 | label.TextStrokeTransparency = 0 | |
| 1652 | label.FontSize = Enum.FontSize.Size24 | |
| 1653 | label.Font = Enum.Font.SciFi | |
| 1654 | label.BorderSizePixel = 0 | |
| 1655 | label.TextScaled = true | |
| 1656 | label.Text = text | |
| 1657 | end | |
| 1658 | ---------------------------------------------- | |
| 1659 | local scrn = Instance.new("ScreenGui", p.PlayerGui)
| |
| 1660 | ud = UDim2.new | |
| 1661 | c3 = Color3.new | |
| 1662 | ||
| 1663 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.150,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
| 1664 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
| 1665 | Manatext = makelabel(Manabar, "[Q]:Automatic Attack (Hold)") | |
| 1666 | ||
| 1667 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.190,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
| 1668 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
| 1669 | Manatext = makelabel(Manabar, "[E]:BONK!") | |
| 1670 | ||
| 1671 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.230,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
| 1672 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
| 1673 | Manatext = makelabel(Manabar, "[R]:Ragdoll") | |
| 1674 | ||
| 1675 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.270,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
| 1676 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
| 1677 | Manatext = makelabel(Manabar, "[Z]:Speed") | |
| 1678 | ||
| 1679 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.310,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
| 1680 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
| 1681 | Manatext = makelabel(Manabar, "[C]:Scout Hammer") | |
| 1682 | ||
| 1683 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.350,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
| 1684 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
| 1685 | Manatext = makelabel(Manabar, "[K]:No Ragdoll Dummy") | |
| 1686 | ||
| 1687 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.390,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
| 1688 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
| 1689 | Manatext = makelabel(Manabar, "[L]:Ragdoll Dummy") | |
| 1690 | ||
| 1691 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.430,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
| 1692 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
| 1693 | Manatext = makelabel(Manabar, "[H]:Bonk Dummy") | |
| 1694 | ||
| 1695 | Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.470,0), ud(0.19, 0, 0.17, 0), c3(0,0,0)) | |
| 1696 | Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
| 1697 | Manatext = makelabel(Manabar, "IS ANYONE EVEN WATCHING ME?") | |
| 1698 | warn'<Script>[Anti Sent To Local]:Connect!' | |
| 1699 | warn'<Script>:Welcome!' | |
| 1700 | ------------------------------------------------------------- |