SHOW:
|
|
- or go back to the newest paste.
| 1 | local char = owner.Character | |
| 2 | ||
| 3 | local BillboardGui = Instance.new("BillboardGui")
| |
| 4 | local TextLabel = Instance.new("TextLabel")
| |
| 5 | ||
| 6 | BillboardGui.Name = "tag" | |
| 7 | BillboardGui.Parent = char.Head | |
| 8 | BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling | |
| 9 | BillboardGui.AlwaysOnTop = false | |
| 10 | BillboardGui.ExtentsOffset = Vector3.new(0, 3, 0) | |
| 11 | BillboardGui.LightInfluence = 1 | |
| 12 | BillboardGui.Size = UDim2.new(0, 200, 0, 50) | |
| 13 | ||
| 14 | TextLabel.Parent = BillboardGui | |
| 15 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 16 | TextLabel.BackgroundTransparency = 1 | |
| 17 | TextLabel.Size = UDim2.new(0, 200, 0, 50) | |
| 18 | TextLabel.Font = Enum.Font.SourceSans | |
| 19 | TextLabel.Text = "Normal" | |
| 20 | TextLabel.TextColor3 = Color3.new(6, 127, 0) | |
| 21 | TextLabel.TextScaled = true | |
| 22 | TextLabel.TextSize = 14 | |
| 23 | TextLabel.TextWrapped = true | |
| 24 | ||
| 25 | local pe = Instance.new("ParticleEmitter", char["Left Arm"])
| |
| 26 | pe.Size = NumberSequence.new(1) | |
| 27 | pe.EmissionDirection = "Bottom" | |
| 28 | pe.Lifetime = NumberRange.new(0.1) | |
| 29 | pe.Rate = 1000 | |
| 30 | pe.Speed = NumberRange.new(0) | |
| 31 | char["Left Arm"].Transparency = 1 | |
| 32 | local p = Instance.new("Part",char)
| |
| 33 | p.Name = "Arm" | |
| 34 | p.Size = char["Left Arm"].Size | |
| 35 | p.BrickColor = BrickColor.new("Really black")
| |
| 36 | p.BottomSurface = Enum.SurfaceType.Smooth | |
| 37 | p.TopSurface = Enum.SurfaceType.Smooth | |
| 38 | local w = Instance.new("Weld",char)
| |
| 39 | w.Part1 = char["Left Arm"] | |
| 40 | w.Part0 = p | |
| 41 | ||
| 42 | local a = Instance.new("Part",char)
| |
| 43 | a.Shape = "Cylinder" | |
| 44 | a.Size = Vector3.new(0.2, 1, 1) | |
| 45 | a.BrickColor = BrickColor.new("Really red")
| |
| 46 | a.BottomSurface = Enum.SurfaceType.Smooth | |
| 47 | a.TopSurface = Enum.SurfaceType.Smooth | |
| 48 | local w1 = Instance.new("Weld",char)
| |
| 49 | w1.C1 = CFrame.new(0.932784796, 0, 0, 4.47034836e-08, 0.99999994, 0, -0.99999994, 4.47034836e-08, 0, 0, 0, 1) | |
| 50 | w1.Part0 = char["Left Arm"] | |
| 51 | w1.Part1 = a | |
| 52 | ||
| 53 | for i,v in pairs(char:GetChildren()) do | |
| 54 | if v.ClassName == "Accessory" then | |
| 55 | if not(v.Handle == nil) then | |
| 56 | local h = v.Handle | |
| 57 | local p1 = h.AccessoryWeld.Part0 | |
| 58 | local p2 = h.AccessoryWeld.Part1 | |
| 59 | local w = Instance.new("Weld",char)
| |
| 60 | w.C0 = h.AccessoryWeld.C0 | |
| 61 | w.C1 = h.AccessoryWeld.C1 | |
| 62 | h.Parent = char | |
| 63 | wait(0.000000000000000000001) | |
| 64 | w.Part0 = p1 | |
| 65 | w.Part1 = p2 | |
| 66 | end | |
| 67 | end | |
| 68 | end | |
| 69 | ||
| 70 | char.Animate:Destroy() | |
| 71 | ||
| 72 | local mus = nil | |
| 73 | ||
| 74 | local hum = char:FindFirstChildOfClass("Humanoid")
| |
| 75 | ||
| 76 | local idleanim = Instance.new("Animation")
| |
| 77 | idleanim.Name = "Roblox Idle Animation" | |
| 78 | idleanim.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 79 | local idleanimplay = hum:LoadAnimation(idleanim) | |
| 80 | idleanimplay:Play() | |
| 81 | ||
| 82 | ||
| 83 | local shota = Instance.new("Animation")
| |
| 84 | shota.Name = "shot" | |
| 85 | shota.AnimationId = "http://www.roblox.com/asset/?id=128853357" | |
| 86 | local sp = hum:LoadAnimation(shota) | |
| 87 | ||
| 88 | if not(char:FindFirstChild("Animate") == nil) then
| |
| 89 | char.Animate:Destroy() | |
| 90 | end | |
| 91 | ||
| 92 | hum.WalkSpeed = 13 | |
| 93 | ||
| 94 | warn("Script made by Subaru112")
| |
| 95 | warn("Moves in output soon")
| |
| 96 | ||
| 97 | mus = Instance.new("Sound",char)
| |
| 98 | mus.SoundId = "rbxassetid://" | |
| 99 | mus.Volume = 1 | |
| 100 | mus.Pitch = 1.1 | |
| 101 | ||
| 102 | mus2 = Instance.new("Sound",char)
| |
| 103 | mus2.SoundId = "rbxassetid://" | |
| 104 | mus2.Volume = 1 | |
| 105 | mus2.Pitch = 0.3 | |
| 106 | ||
| 107 | mus3 = Instance.new("Sound",char)
| |
| 108 | mus3.Volume = 1 | |
| 109 | mus3.Pitch = 1 | |
| 110 | ||
| 111 | local transforming = false | |
| 112 | ||
| 113 | --This script is made by Subaru112. | |
| 114 | ||
| 115 | local plr = owner | |
| 116 | local char = plr.Character | |
| 117 | local hum = char:FindFirstChildOfClass("Humanoid")
| |
| 118 | local remote = Instance.new("RemoteEvent", char)
| |
| 119 | remote.Name = "ReplicationEvent" | |
| 120 | local client = NLS([==[ | |
| 121 | local mouse = game:GetService("Players").LocalPlayer:GetMouse()
| |
| 122 | local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
| |
| 123 | spawn(function() | |
| 124 | while game:GetService("RunService").Heartbeat:Wait() do
| |
| 125 | remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
| |
| 126 | end | |
| 127 | end) | |
| 128 | game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
| |
| 129 | if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then | |
| 130 | remote:FireServer(1, input.KeyCode) | |
| 131 | end | |
| 132 | end) | |
| 133 | mouse.Button1Down:Connect(function() | |
| 134 | remote:FireServer(2) | |
| 135 | end) | |
| 136 | remote.OnClientEvent:Connect(function() | |
| 137 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(mouse.Hit.Position.X, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Y, mouse.Hit.Position.Z))
| |
| 138 | end) | |
| 139 | ]==], char) | |
| 140 | local RS = char.Torso["Right Shoulder"] | |
| 141 | local LS = char.Torso["Left Shoulder"] | |
| 142 | local RH = char.Torso["Right Hip"] | |
| 143 | local LH = char.Torso["Left Hip"] | |
| 144 | local rootj = char.HumanoidRootPart.RootJoint | |
| 145 | local throwbutton = false | |
| 146 | local throw = false | |
| 147 | local normalanim = true | |
| 148 | local attackd = false | |
| 149 | local animpose = "Idle" | |
| 150 | local timepos = 0 | |
| 151 | local timepos2 = 0 | |
| 152 | local sine = 0 | |
| 153 | local RSnor = RS.C0 | |
| 154 | local LSnor = LS.C0 | |
| 155 | local RHnor = RH.C0 | |
| 156 | local LHnor = LH.C0 | |
| 157 | local RSnor2 = RS.C1 | |
| 158 | local LSnor2 = LS.C1 | |
| 159 | local RHnor2 = RH.C1 | |
| 160 | local LHnor2 = LH.C1 | |
| 161 | local rootjnor = rootj.C0 | |
| 162 | local song = 614032233 | |
| 163 | local move = Instance.new("StringValue",char)
| |
| 164 | move.Value = "true" | |
| 165 | local mode = Instance.new("StringValue",char)
| |
| 166 | mode.Value = "normal" | |
| 167 | local shotid = 1311235374 | |
| 168 | ||
| 169 | --------------------------------- | |
| 170 | -------------Attacks------------- | |
| 171 | --------------------------------- | |
| 172 | ||
| 173 | remote.OnServerEvent:Connect(function(Player, number, key) | |
| 174 | if number == 1 and plr.Name == Player.Name and attackd == false then | |
| 175 | ||
| 176 | if key == Enum.KeyCode.N then | |
| 177 | mode.Value = "normal" | |
| 178 | song = 614032233 | |
| 179 | TextLabel.Text = "Normal" | |
| 180 | TextLabel.TextColor3 = Color3.new(6, 127, 0) | |
| 181 | end | |
| 182 | ||
| 183 | if key == Enum.KeyCode.M then | |
| 184 | mode.Value = "insane" | |
| 185 | song = 227076986 | |
| 186 | TextLabel.Text = "Insane" | |
| 187 | TextLabel.TextColor3 = Color3.new(255, 255, 255) | |
| 188 | end | |
| 189 | ||
| 190 | if key == Enum.KeyCode.P then | |
| 191 | mode.Value = "murderer" | |
| 192 | song = 407749940 | |
| 193 | TextLabel.Text = "Murderer" | |
| 194 | TextLabel.TextColor3 = Color3.new(255, 0, 0) | |
| 195 | end | |
| 196 | ||
| 197 | if key == Enum.KeyCode.L then | |
| 198 | mode.Value = "funnyguy" | |
| 199 | song = 1165415989 | |
| 200 | TextLabel.Text = "Funny guy xd" | |
| 201 | TextLabel.TextColor3 = Color3.new(114, 199, 255) | |
| 202 | end | |
| 203 | ||
| 204 | if key == Enum.KeyCode.K then | |
| 205 | mode.Value = "gone" | |
| 206 | song = 601069330 | |
| 207 | TextLabel.Text = "You are gone!" | |
| 208 | TextLabel.TextColor3 = Color3.new(0, 0, 0) | |
| 209 | end | |
| 210 | ||
| 211 | if key == Enum.KeyCode.J then | |
| 212 | mode.Value = "ftd" | |
| 213 | song = 474074203 | |
| 214 | mus3.TimePosition = 0 | |
| 215 | TextLabel.Text = "I'll never forget this day" | |
| 216 | TextLabel.TextColor3 = Color3.new(170, 34, 255) | |
| 217 | attackd = true | |
| 218 | normalanim = false | |
| 219 | hum.WalkSpeed = 0 | |
| 220 | hum.JumpPower = 0 | |
| 221 | sp:play() | |
| 222 | wait(0.5) | |
| 223 | char["Left Arm"].Transparency = 0 | |
| 224 | p.Transparency = 1 | |
| 225 | a.Transparency = 1 | |
| 226 | local p2 = Instance.new("Part",workspace)
| |
| 227 | p2.Name = "Arm" | |
| 228 | p2.Size = char["Left Arm"].Size | |
| 229 | p2.BrickColor = BrickColor.new("Really black")
| |
| 230 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
| 231 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 232 | p2.CFrame = char["Left Arm"].CFrame | |
| 233 | p2.CanCollide = false | |
| 234 | ||
| 235 | local a2 = Instance.new("Part",workspace)
| |
| 236 | a2.Shape = "Cylinder" | |
| 237 | a2.Size = Vector3.new(0.2, 1, 1) | |
| 238 | a2.BrickColor = BrickColor.new("Really red")
| |
| 239 | a2.CanCollide = false | |
| 240 | a2.BottomSurface = Enum.SurfaceType.Smooth | |
| 241 | a2.TopSurface = Enum.SurfaceType.Smooth | |
| 242 | local w12 = Instance.new("Weld",char)
| |
| 243 | w12.C1 = CFrame.new(0.932784796, 0, 0, 4.47034836e-08, 0.99999994, 0, -0.99999994, 4.47034836e-08, 0, 0, 0, 1) | |
| 244 | w12.Part0 = p2 | |
| 245 | w12.Part1 = a2 | |
| 246 | ||
| 247 | p2.CFrame = char["Left Arm"].CFrame | |
| 248 | p2.Velocity = char.HumanoidRootPart.CFrame.LookVector * 70 | |
| 249 | wait(0.1) | |
| 250 | p2.CanCollide = true | |
| 251 | a2.CanCollide = true | |
| 252 | wait(3) | |
| 253 | a.Size = Vector3.new(1.2, 0.7, 0.7) | |
| 254 | p2:Destroy() | |
| 255 | a2:Destroy() | |
| 256 | wait(0.1) | |
| 257 | p.BrickColor = BrickColor.new("White")
| |
| 258 | a.BrickColor = BrickColor.new("Alder")
| |
| 259 | ||
| 260 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 261 | p.Transparency = p.Transparency - 0.1 | |
| 262 | a.Transparency = a.Transparency - 0.1 | |
| 263 | wait(0.1) | |
| 264 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 265 | p.Transparency = p.Transparency - 0.1 | |
| 266 | a.Transparency = a.Transparency - 0.1 | |
| 267 | wait(0.1) | |
| 268 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 269 | p.Transparency = p.Transparency - 0.1 | |
| 270 | a.Transparency = a.Transparency - 0.1 | |
| 271 | wait(0.1) | |
| 272 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 273 | p.Transparency = p.Transparency - 0.1 | |
| 274 | a.Transparency = a.Transparency - 0.1 | |
| 275 | wait(0.1) | |
| 276 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 277 | p.Transparency = p.Transparency - 0.1 | |
| 278 | a.Transparency = a.Transparency - 0.1 | |
| 279 | wait(0.1) | |
| 280 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 281 | p.Transparency = p.Transparency - 0.1 | |
| 282 | a.Transparency = a.Transparency - 0.1 | |
| 283 | wait(0.1) | |
| 284 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 285 | p.Transparency = p.Transparency - 0.1 | |
| 286 | a.Transparency = a.Transparency - 0.1 | |
| 287 | wait(0.1) | |
| 288 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 289 | p.Transparency = p.Transparency - 0.1 | |
| 290 | a.Transparency = a.Transparency - 0.1 | |
| 291 | wait(0.1) | |
| 292 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 293 | p.Transparency = p.Transparency - 0.1 | |
| 294 | a.Transparency = a.Transparency - 0.1 | |
| 295 | wait(0.1) | |
| 296 | char["Left Arm"].Transparency = 1 | |
| 297 | p.Transparency = 0 | |
| 298 | a.Transparency = 0 | |
| 299 | attackd = false | |
| 300 | normalanim = true | |
| 301 | hum.WalkSpeed = 13 | |
| 302 | hum.JumpPower = 50 | |
| 303 | end | |
| 304 | ||
| 305 | if key == Enum.KeyCode.H then | |
| 306 | mode.Value = "radio" | |
| 307 | transforming = true | |
| 308 | song = 723652641 | |
| 309 | mus3.TimePosition = 0 | |
| 310 | TextLabel.Text = "Glitchy" | |
| 311 | TextLabel.TextColor3 = Color3.new(0, 0, 0) | |
| 312 | attackd = true | |
| 313 | normalanim = false | |
| 314 | hum.WalkSpeed = 0 | |
| 315 | hum.JumpPower = 0 | |
| 316 | wait(0.5) | |
| 317 | char["Left Arm"].Transparency = 0 | |
| 318 | p.Transparency = 1 | |
| 319 | a.Transparency = 1 | |
| 320 | local p2 = Instance.new("Part",char)
| |
| 321 | p2.Name = "Arm" | |
| 322 | p2.Size = char["Left Arm"].Size | |
| 323 | p2.BrickColor = BrickColor.new("Really black")
| |
| 324 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
| 325 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 326 | p2.CFrame = char["Left Arm"].CFrame | |
| 327 | p2.CanCollide = false | |
| 328 | ||
| 329 | local a2 = Instance.new("Part",char)
| |
| 330 | a2.Shape = "Cylinder" | |
| 331 | a2.Size = Vector3.new(0.2, 1, 1) | |
| 332 | a2.BrickColor = BrickColor.new("Really red")
| |
| 333 | a2.CanCollide = false | |
| 334 | a2.BottomSurface = Enum.SurfaceType.Smooth | |
| 335 | a2.TopSurface = Enum.SurfaceType.Smooth | |
| 336 | local w12 = Instance.new("Weld",char)
| |
| 337 | w12.C1 = CFrame.new(0.932784796, 0, 0, 4.47034836e-08, 0.99999994, 0, -0.99999994, 4.47034836e-08, 0, 0, 0, 1) | |
| 338 | w12.Part0 = p2 | |
| 339 | w12.Part1 = a2 | |
| 340 | ||
| 341 | p2.CFrame = char["Left Arm"].CFrame | |
| 342 | local bd = Instance.new("BodyPosition",p2)
| |
| 343 | bd.Position = p2.Position + Vector3.new(0,4,0) | |
| 344 | ||
| 345 | wait(3) | |
| 346 | ||
| 347 | local mesh = Instance.new("BlockMesh",char.Head)
| |
| 348 | local mesh2 = Instance.new("BlockMesh",char.Torso)
| |
| 349 | local mesh3 = Instance.new("BlockMesh",char["Left Arm"])
| |
| 350 | local mesh4 = Instance.new("BlockMesh",char["Right Arm"])
| |
| 351 | local mesh5 = Instance.new("BlockMesh",char["Left Leg"])
| |
| 352 | local mesh6 = Instance.new("BlockMesh",char["Right Leg"])
| |
| 353 | ||
| 354 | for i,v in pairs(char:GetChildren()) do | |
| 355 | if v.ClassName == "Part" then | |
| 356 | v.Material = "Neon" | |
| 357 | end | |
| 358 | end | |
| 359 | ||
| 360 | for i = 1,10 do | |
| 361 | wait(0.0001) | |
| 362 | local num1 = math.random(-1,1) | |
| 363 | local num2 = math.random(-1,1) | |
| 364 | local num3 = math.random(-1,1) | |
| 365 | ||
| 366 | local num4 = math.random(-1,1) | |
| 367 | local num5 = math.random(-1,1) | |
| 368 | local num6 = math.random(-1,1) | |
| 369 | ||
| 370 | mesh.Offset = mesh.Offset + Vector3.new(num1,num2,num3) | |
| 371 | mesh2.Offset = mesh2.Offset + Vector3.new(num4,num5,num6) | |
| 372 | mesh3.Offset = mesh.Offset + Vector3.new(num1,num2,num3) | |
| 373 | mesh4.Offset = mesh2.Offset + Vector3.new(num4,num5,num6) | |
| 374 | mesh5.Offset = mesh.Offset + Vector3.new(num1,num2,num3) | |
| 375 | mesh6.Offset = mesh2.Offset + Vector3.new(num4,num5,num6) | |
| 376 | end | |
| 377 | ||
| 378 | for i,v in pairs(char:GetChildren()) do | |
| 379 | if v.ClassName == "Part" then | |
| 380 | v.Material = "Plastic" | |
| 381 | end | |
| 382 | end | |
| 383 | ||
| 384 | ||
| 385 | mesh:Destroy() | |
| 386 | mesh2:Destroy() | |
| 387 | mesh3:Destroy() | |
| 388 | mesh4:Destroy() | |
| 389 | mesh5:Destroy() | |
| 390 | mesh6:Destroy() | |
| 391 | ||
| 392 | wait(0.1) | |
| 393 | bd.Position = p2.Position + Vector3.new(0,1000,0) | |
| 394 | wait(0.1) | |
| 395 | a.Size = Vector3.new(0.5, 0.7, 0.7) | |
| 396 | p2:Destroy() | |
| 397 | a2:Destroy() | |
| 398 | wait(0.1) | |
| 399 | p.BrickColor = BrickColor.new("Lime green")
| |
| 400 | a.BrickColor = BrickColor.new("Really black")
| |
| 401 | ||
| 402 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 403 | p.Transparency = p.Transparency - 0.1 | |
| 404 | a.Transparency = a.Transparency - 0.1 | |
| 405 | wait(0.1) | |
| 406 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 407 | p.Transparency = p.Transparency - 0.1 | |
| 408 | a.Transparency = a.Transparency - 0.1 | |
| 409 | wait(0.1) | |
| 410 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 411 | p.Transparency = p.Transparency - 0.1 | |
| 412 | a.Transparency = a.Transparency - 0.1 | |
| 413 | wait(0.1) | |
| 414 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 415 | p.Transparency = p.Transparency - 0.1 | |
| 416 | a.Transparency = a.Transparency - 0.1 | |
| 417 | wait(0.1) | |
| 418 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 419 | p.Transparency = p.Transparency - 0.1 | |
| 420 | a.Transparency = a.Transparency - 0.1 | |
| 421 | wait(0.1) | |
| 422 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 423 | p.Transparency = p.Transparency - 0.1 | |
| 424 | a.Transparency = a.Transparency - 0.1 | |
| 425 | wait(0.1) | |
| 426 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 427 | p.Transparency = p.Transparency - 0.1 | |
| 428 | a.Transparency = a.Transparency - 0.1 | |
| 429 | wait(0.1) | |
| 430 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 431 | p.Transparency = p.Transparency - 0.1 | |
| 432 | a.Transparency = a.Transparency - 0.1 | |
| 433 | wait(0.1) | |
| 434 | char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.1 | |
| 435 | p.Transparency = p.Transparency - 0.1 | |
| 436 | a.Transparency = a.Transparency - 0.1 | |
| 437 | wait(0.1) | |
| 438 | char["Left Arm"].Transparency = 1 | |
| 439 | p.Transparency = 0 | |
| 440 | a.Transparency = 0 | |
| 441 | attackd = false | |
| 442 | normalanim = true | |
| 443 | hum.WalkSpeed = 13 | |
| 444 | hum.JumpPower = 50 | |
| 445 | transforming = false | |
| 446 | end | |
| 447 | ||
| 448 | if key == Enum.KeyCode.Z then | |
| 449 | if attackd == false then | |
| 450 | if mode.Value == "radio" then | |
| 451 | attackd = true | |
| 452 | normalanim = false | |
| 453 | hum.WalkSpeed = 4 | |
| 454 | sp:play() | |
| 455 | wait(0.5) | |
| 456 | mus:Play() | |
| 457 | mus.TimePosition = 0.1 | |
| 458 | local bull5 = Instance.new("Part",workspace)
| |
| 459 | bull5.Shape = "Ball" | |
| 460 | bull5.Name = "Bullet" | |
| 461 | bull5.BrickColor = BrickColor.new("Really blue")
| |
| 462 | bull5.Size = Vector3.new(2,2,2) | |
| 463 | bull5.Transparency = 0.5 | |
| 464 | bull5.CanCollide = false | |
| 465 | bull5.CFrame = char.Torso.CFrame | |
| 466 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 467 | bull5.Touched:Connect(function(hit) | |
| 468 | if hit.Parent then | |
| 469 | local character = hit.Parent | |
| 470 | if not(character == char or hit.Name == "Bullet") then | |
| 471 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 472 | ||
| 473 | for i,hit in pairs(character:GetChildren()) do | |
| 474 | if hit.ClassName == "Part" or hit.ClassName == "MeshPart" then | |
| 475 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 476 | hit.CanCollide = false | |
| 477 | hit.BrickColor = BrickColor.new("Really black")
| |
| 478 | end | |
| 479 | end | |
| 480 | end | |
| 481 | ||
| 482 | for i,hit in pairs(character:GetChildren()) do | |
| 483 | if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then | |
| 484 | if not(hit.Parent == workspace) then | |
| 485 | ||
| 486 | for i,v in pairs(hit:GetChildren()) do | |
| 487 | if v.ClassName == "Decal" then | |
| 488 | v:Destroy() | |
| 489 | end | |
| 490 | end | |
| 491 | ||
| 492 | if hit.ClassName == "MeshPart" then | |
| 493 | hit.TextureID = "" | |
| 494 | end | |
| 495 | ||
| 496 | for i,v in pairs(hit:GetChildren()) do | |
| 497 | for i,s in pairs(v:GetChildren()) do | |
| 498 | if s.ClassName == "FileMesh" or s.ClassName == "SpecialMesh" then | |
| 499 | s.TextureId = "" | |
| 500 | end | |
| 501 | end | |
| 502 | if v.ClassName == "FileMesh" or v.ClassName == "SpecialMesh" then | |
| 503 | v.TextureId = "" | |
| 504 | end | |
| 505 | end | |
| 506 | ||
| 507 | for i,v in pairs(hit:GetChildren()) do | |
| 508 | if v.ClassName == "Decal" then | |
| 509 | v:Destroy() | |
| 510 | end | |
| 511 | end | |
| 512 | ||
| 513 | hit.Parent = workspace | |
| 514 | hit.CanCollide = false | |
| 515 | hit.Anchored = true | |
| 516 | hit.BrickColor = BrickColor.new("Really black")
| |
| 517 | ||
| 518 | for i = 1,100 do | |
| 519 | game:GetService("RunService").Heartbeat:Wait()
| |
| 520 | local num1 = math.random(-1,1) | |
| 521 | local num2 = math.random(-1,1) | |
| 522 | ||
| 523 | hit.CFrame = hit.CFrame + Vector3.new(num1,0,num2) | |
| 524 | hit.Transparency = hit.Transparency + 0.010 | |
| 525 | end | |
| 526 | ||
| 527 | hit:Destroy() | |
| 528 | ||
| 529 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 530 | if hit.ClassName == "MeshPart" then | |
| 531 | hit.TextureID = "" | |
| 532 | end | |
| 533 | ||
| 534 | for i,v in pairs(hit:GetChildren()) do | |
| 535 | if v.ClassName == "Decal" then | |
| 536 | v:Destroy() | |
| 537 | end | |
| 538 | end | |
| 539 | ||
| 540 | end | |
| 541 | end | |
| 542 | end | |
| 543 | end | |
| 544 | end | |
| 545 | end | |
| 546 | end | |
| 547 | end) | |
| 548 | wait(0.5) | |
| 549 | normalanim = true | |
| 550 | hum.WalkSpeed = 13 | |
| 551 | attackd = false | |
| 552 | sp:Stop() | |
| 553 | end | |
| 554 | end | |
| 555 | ||
| 556 | ||
| 557 | ||
| 558 | if attackd == false then | |
| 559 | if mode.Value == "ftd" then | |
| 560 | attackd = true | |
| 561 | normalanim = false | |
| 562 | hum.WalkSpeed = 4 | |
| 563 | sp:play() | |
| 564 | wait(0.5) | |
| 565 | mus:Play() | |
| 566 | mus.TimePosition = 0.1 | |
| 567 | local bull5 = Instance.new("Part",workspace)
| |
| 568 | bull5.Shape = "Ball" | |
| 569 | bull5.Name = "Bullet" | |
| 570 | bull5.BrickColor = BrickColor.new("Really blue")
| |
| 571 | bull5.Size = Vector3.new(2,2,2) | |
| 572 | bull5.Transparency = 0.5 | |
| 573 | bull5.CanCollide = false | |
| 574 | bull5.CFrame = char.Torso.CFrame | |
| 575 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 576 | bull5.Touched:Connect(function(hit) | |
| 577 | if hit.Parent then | |
| 578 | local character = hit.Parent | |
| 579 | if not(character == char or hit.Name == "Bullet") then | |
| 580 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 581 | ||
| 582 | hit.Parent = workspace | |
| 583 | hit.BrickColor = BrickColor.new("Alder")
| |
| 584 | hit.Anchored = true | |
| 585 | hit.CanCollide = false | |
| 586 | ||
| 587 | for i,v in pairs(hit:GetChildren()) do | |
| 588 | if v.ClassName == "Decal" then | |
| 589 | v:Destroy() | |
| 590 | end | |
| 591 | end | |
| 592 | ||
| 593 | for i = 1,20 do | |
| 594 | game:GetService("RunService").Heartbeat:Wait()
| |
| 595 | hit.CFrame = hit.CFrame + Vector3.new(math.random(-1,1), math.random(-1,1), math.random(-1,1)) | |
| 596 | hit.Transparency = hit.Transparency + 0.05 | |
| 597 | end | |
| 598 | ||
| 599 | hit:Destroy() | |
| 600 | ||
| 601 | for i,hit in pairs(character:GetChildren()) do | |
| 602 | if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then | |
| 603 | if not(hit.Parent == workspace) then | |
| 604 | ||
| 605 | for i,v in pairs(hit:GetChildren()) do | |
| 606 | if v.ClassName == "Decal" then | |
| 607 | v:Destroy() | |
| 608 | end | |
| 609 | end | |
| 610 | ||
| 611 | if hit.ClassName == "MeshPart" then | |
| 612 | hit.TextureID = "" | |
| 613 | end | |
| 614 | ||
| 615 | for i,v in pairs(hit:GetChildren()) do | |
| 616 | for i,s in pairs(v:GetChildren()) do | |
| 617 | if s.ClassName == "FileMesh" or s.ClassName == "SpecialMesh" then | |
| 618 | s.TextureId = "" | |
| 619 | end | |
| 620 | end | |
| 621 | if v.ClassName == "FileMesh" or v.ClassName == "SpecialMesh" then | |
| 622 | v.TextureId = "" | |
| 623 | end | |
| 624 | end | |
| 625 | ||
| 626 | for i,v in pairs(hit:GetChildren()) do | |
| 627 | if v.ClassName == "Decal" then | |
| 628 | v:Destroy() | |
| 629 | end | |
| 630 | end | |
| 631 | ||
| 632 | hit.Parent = workspace | |
| 633 | hit.BrickColor = BrickColor.new("Alder")
| |
| 634 | hit.Anchored = true | |
| 635 | hit.CanCollide = false | |
| 636 | ||
| 637 | for i = 1,20 do | |
| 638 | game:GetService("RunService").Heartbeat:Wait()
| |
| 639 | hit.CFrame = hit.CFrame + Vector3.new(math.random(-1,1), math.random(-1,1), math.random(-1,1)) | |
| 640 | hit.Transparency = hit.Transparency + 0.05 | |
| 641 | end | |
| 642 | ||
| 643 | hit:Destroy() | |
| 644 | ||
| 645 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 646 | if hit.ClassName == "MeshPart" then | |
| 647 | hit.TextureID = "" | |
| 648 | end | |
| 649 | ||
| 650 | for i,v in pairs(hit:GetChildren()) do | |
| 651 | if v.ClassName == "Decal" then | |
| 652 | v:Destroy() | |
| 653 | end | |
| 654 | end | |
| 655 | ||
| 656 | end | |
| 657 | end | |
| 658 | end | |
| 659 | end | |
| 660 | end | |
| 661 | end | |
| 662 | end | |
| 663 | end) | |
| 664 | wait(0.5) | |
| 665 | normalanim = true | |
| 666 | hum.WalkSpeed = 13 | |
| 667 | attackd = false | |
| 668 | sp:Stop() | |
| 669 | end | |
| 670 | end | |
| 671 | ||
| 672 | if attackd == false then | |
| 673 | if mode.Value == "gone" then | |
| 674 | attackd = true | |
| 675 | normalanim = false | |
| 676 | hum.WalkSpeed = 4 | |
| 677 | sp:play() | |
| 678 | wait(0.5) | |
| 679 | mus:Play() | |
| 680 | mus.TimePosition = 0.1 | |
| 681 | local bull5 = Instance.new("Part",workspace)
| |
| 682 | bull5.Shape = "Ball" | |
| 683 | bull5.Name = "Bullet" | |
| 684 | bull5.BrickColor = BrickColor.new("Really red")
| |
| 685 | bull5.Size = Vector3.new(2,2,2) | |
| 686 | bull5.Transparency = 0.5 | |
| 687 | bull5.CanCollide = false | |
| 688 | bull5.CFrame = char.Torso.CFrame | |
| 689 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 690 | bull5.Touched:Connect(function(hit) | |
| 691 | if hit.Parent then | |
| 692 | local character = hit.Parent | |
| 693 | if not(character == char or hit.Name == "Bullet") then | |
| 694 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 695 | ||
| 696 | hit.Parent = workspace | |
| 697 | local num1 = math.random(-50,50) | |
| 698 | local num2 = math.random(1,50) | |
| 699 | local num3 = math.random(-50,50) | |
| 700 | ||
| 701 | hit:BreakJoints() | |
| 702 | hit.Anchored = false | |
| 703 | hit.CanCollide = true | |
| 704 | hit.Material = "Neon" | |
| 705 | hit.BrickColor = BrickColor.new("Really red")
| |
| 706 | hit.Transparency = 0.7 | |
| 707 | hit.Reflectance = 0.9 | |
| 708 | hit.Velocity = Vector3.new(num1, num2, num3) | |
| 709 | ||
| 710 | for i,hit in pairs(character:GetChildren()) do | |
| 711 | ||
| 712 | if hit.Parent.ClassName == "Accessory" then | |
| 713 | for i,v in pairs(hit:GetChildren()) do | |
| 714 | if v.ClassName == "Part" then | |
| 715 | v.Parent = workspace | |
| 716 | local num1 = math.random(-50,50) | |
| 717 | local num2 = math.random(1,50) | |
| 718 | local num3 = math.random(-50,50) | |
| 719 | ||
| 720 | ||
| 721 | v.Parent = workspace | |
| 722 | v:BreakJoints() | |
| 723 | v.Anchored = false | |
| 724 | v.CanCollide = true | |
| 725 | v.Material = "Neon" | |
| 726 | v.BrickColor = BrickColor.new("Really red")
| |
| 727 | v.Transparency = 0.7 | |
| 728 | v.Reflectance = 0.9 | |
| 729 | v.Velocity = Vector3.new(num1, num2, num3) | |
| 730 | ||
| 731 | end | |
| 732 | for i,s in pairs(v:GetChildren()) do | |
| 733 | if s.ClassName == "FileMesh" or s.ClassName == "SpecialMesh" then | |
| 734 | s.TextureId = "" | |
| 735 | end | |
| 736 | end | |
| 737 | if v.ClassName == "FileMesh" or v.ClassName == "SpecialMesh" then | |
| 738 | v.TextureId = "" | |
| 739 | end | |
| 740 | end | |
| 741 | end | |
| 742 | ||
| 743 | if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then | |
| 744 | if not(hit.Parent == workspace) then | |
| 745 | local num1 = math.random(-50,50) | |
| 746 | local num2 = math.random(1,50) | |
| 747 | local num3 = math.random(-50,50) | |
| 748 | ||
| 749 | if hit.ClassName == "MeshPart" then | |
| 750 | hit.TextureID = "" | |
| 751 | end | |
| 752 | ||
| 753 | for i,v in pairs(hit:GetChildren()) do | |
| 754 | for i,s in pairs(v:GetChildren()) do | |
| 755 | if s.ClassName == "FileMesh" or s.ClassName == "SpecialMesh" then | |
| 756 | s.TextureId = "" | |
| 757 | end | |
| 758 | end | |
| 759 | if v.ClassName == "FileMesh" or v.ClassName == "SpecialMesh" then | |
| 760 | v.TextureId = "" | |
| 761 | end | |
| 762 | end | |
| 763 | ||
| 764 | hit.Parent = workspace | |
| 765 | hit:BreakJoints() | |
| 766 | hit.Anchored = false | |
| 767 | hit.CanCollide = true | |
| 768 | hit.Material = "Neon" | |
| 769 | hit.BrickColor = BrickColor.new("Really red")
| |
| 770 | hit.Transparency = 0.7 | |
| 771 | hit.Reflectance = 0.9 | |
| 772 | hit.Velocity = Vector3.new(num1, num2, num3) | |
| 773 | ||
| 774 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 775 | if hit.ClassName == "MeshPart" then | |
| 776 | hit.TextureID = "" | |
| 777 | end | |
| 778 | ||
| 779 | hit.Parent = workspace | |
| 780 | local num1 = math.random(-50,50) | |
| 781 | local num2 = math.random(1,50) | |
| 782 | local num3 = math.random(-50,50) | |
| 783 | ||
| 784 | hit:BreakJoints() | |
| 785 | hit.Anchored = false | |
| 786 | hit.CanCollide = true | |
| 787 | hit.Material = "Neon" | |
| 788 | hit.BrickColor = BrickColor.new("Really red")
| |
| 789 | hit.Transparency = 0.7 | |
| 790 | hit.Reflectance = 0.9 | |
| 791 | hit.Velocity = Vector3.new(num1, num2, num3) | |
| 792 | end | |
| 793 | end | |
| 794 | end | |
| 795 | end | |
| 796 | end | |
| 797 | end | |
| 798 | end | |
| 799 | end) | |
| 800 | wait(0.5) | |
| 801 | normalanim = true | |
| 802 | hum.WalkSpeed = 13 | |
| 803 | attackd = false | |
| 804 | sp:Stop() | |
| 805 | end | |
| 806 | end | |
| 807 | ||
| 808 | if mode.Value == "funnyguy" then | |
| 809 | if attackd == false then | |
| 810 | attackd = true | |
| 811 | normalanim = false | |
| 812 | hum.WalkSpeed = 4 | |
| 813 | sp:play() | |
| 814 | wait(0.5) | |
| 815 | mus:Play() | |
| 816 | mus.TimePosition = 0.1 | |
| 817 | local bull5 = Instance.new("Part",char)
| |
| 818 | bull5.Shape = "Ball" | |
| 819 | bull5.Name = "Bullet" | |
| 820 | bull5.BrickColor = BrickColor.new("Hot pink")
| |
| 821 | bull5.Material = "Neon" | |
| 822 | bull5.Size = Vector3.new(1,1,1) | |
| 823 | bull5.CanCollide = false | |
| 824 | bull5.CFrame = char.Torso.CFrame | |
| 825 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 826 | bull5.Touched:Connect(function(hit) | |
| 827 | if hit.Parent then | |
| 828 | local character = hit.Parent | |
| 829 | if not(character == char or hit.Name == "Bullet") then | |
| 830 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 831 | local human = character:FindFirstChildOfClass("Humanoid")
| |
| 832 | if human then | |
| 833 | if character:FindFirstChild("TRAP") == nil then
| |
| 834 | local tr = Instance.new("ObjectValue",character)
| |
| 835 | tr.Name = "TRAP" | |
| 836 | for i,v in pairs(character:GetChildren()) do | |
| 837 | if v.ClassName == "BodyColors" or v.ClassName == "Pants" or v.ClassName == "Shirt" or v.ClassName == "ShirtGraphic" or v.ClassName == "Hat" or v.ClassName == "Accessory" or v.ClassName == "CharacterMesh" then | |
| 838 | v:Destroy() | |
| 839 | end | |
| 840 | end | |
| 841 | local ps = math.random(1,6) | |
| 842 | local p = Instance.new("Pants",character)
| |
| 843 | p.Name = "Pants" | |
| 844 | p.PantsTemplate = "" | |
| 845 | local s = Instance.new("Shirt",character)
| |
| 846 | s.Name = "Shirt" | |
| 847 | ||
| 848 | if ps == 1 then | |
| 849 | p.PantsTemplate = "rbxassetid://56903591" | |
| 850 | end | |
| 851 | ||
| 852 | if ps == 2 then | |
| 853 | p.PantsTemplate = "rbxassetid://745334066" | |
| 854 | s.ShirtTemplate = "rbxassetid://242933637" | |
| 855 | end | |
| 856 | ||
| 857 | if ps == 3 then | |
| 858 | p.PantsTemplate = "rbxassetid://1340645290" | |
| 859 | s.ShirtTemplate = "rbxassetid://1238151974" | |
| 860 | end | |
| 861 | ||
| 862 | if ps == 4 then | |
| 863 | p.PantsTemplate = "rbxassetid://460147365" | |
| 864 | s.ShirtTemplate = "rbxassetid://583471131" | |
| 865 | end | |
| 866 | ||
| 867 | if ps == 5 then | |
| 868 | p.PantsTemplate = "rbxassetid://45541243" | |
| 869 | end | |
| 870 | ||
| 871 | if ps == 6 then | |
| 872 | p.PantsTemplate = "rbxassetid://41162775" | |
| 873 | end | |
| 874 | ||
| 875 | local bd = Instance.new("BodyColors",character)
| |
| 876 | bd.Name = "Body Colors" | |
| 877 | bd.HeadColor = BrickColor.new("Light orange")
| |
| 878 | bd.TorsoColor = BrickColor.new("Light orange")
| |
| 879 | bd.RightArmColor = BrickColor.new("Light orange")
| |
| 880 | bd.LeftArmColor = BrickColor.new("Light orange")
| |
| 881 | bd.RightLegColor = BrickColor.new("Light orange")
| |
| 882 | bd.LeftLegColor = BrickColor.new("Light orange")
| |
| 883 | ||
| 884 | if not(character.Head == nil) then | |
| 885 | for i,v in pairs(character.Head:GetChildren()) do | |
| 886 | if v.ClassName == "Decal" then | |
| 887 | v.Texture = "http://www.roblox.com/asset/?id=519735061" | |
| 888 | end | |
| 889 | end | |
| 890 | local hair = Instance.new("Part",character)
| |
| 891 | hair.CanCollide = false | |
| 892 | hair.BottomSurface = Enum.SurfaceType.Smooth | |
| 893 | hair.TopSurface = Enum.SurfaceType.Smooth | |
| 894 | local num1 = math.random(0,255) | |
| 895 | local num2 = math.random(0,255) | |
| 896 | local num3 = math.random(0,255) | |
| 897 | hair.Color = Color3.new(num1,num2,num3) | |
| 898 | local hatr = math.random(1,7) | |
| 899 | ||
| 900 | if hatr == 1 then | |
| 901 | print("1")
| |
| 902 | hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
| 903 | local hm = Instance.new("SpecialMesh",hair)
| |
| 904 | hm.Scale = Vector3.new(0.075000003, 0.0599999987, 0.0599999987) | |
| 905 | hm.MeshId = "rbxassetid://506240548" | |
| 906 | hm.MeshType = Enum.MeshType.FileMesh | |
| 907 | local w = Instance.new("ManualWeld",hair)
| |
| 908 | w.Part0 = hair | |
| 909 | w.Part1 = character.Head | |
| 910 | w.C1 = CFrame.new(-7.62939453e-06, -1.19999862, 0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 911 | end | |
| 912 | ||
| 913 | if hatr == 2 then | |
| 914 | print("2")
| |
| 915 | hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
| 916 | local hm = Instance.new("SpecialMesh",hair)
| |
| 917 | hm.Scale = Vector3.new(0.0450000018, 0.0450000018, 0.0450000018) | |
| 918 | hm.MeshId = "rbxassetid://487000462" | |
| 919 | hm.MeshType = Enum.MeshType.FileMesh | |
| 920 | local w = Instance.new("ManualWeld",hair)
| |
| 921 | w.Part0 = hair | |
| 922 | w.Part1 = character.Head | |
| 923 | w.C1 = CFrame.new(-7.62939453e-06, -0.799998999, 0.599994659, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 924 | end | |
| 925 | ||
| 926 | if hatr == 3 then | |
| 927 | print("3")
| |
| 928 | hair.Size = Vector3.new(0.5, 0.400000006, 0.400000006) | |
| 929 | local hm = Instance.new("SpecialMesh",hair)
| |
| 930 | hm.MeshId = "rbxassetid://164382853" | |
| 931 | hm.MeshType = Enum.MeshType.FileMesh | |
| 932 | local w = Instance.new("ManualWeld",hair)
| |
| 933 | w.Part0 = hair | |
| 934 | w.Part1 = character.Head | |
| 935 | w.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 936 | w.C1 = CFrame.new(-0.0500030518, -0.599999189, 0.100002289, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 937 | end | |
| 938 | ||
| 939 | if hatr == 4 then | |
| 940 | print("4")
| |
| 941 | hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
| 942 | local hm = Instance.new("SpecialMesh",hair)
| |
| 943 | hm.Scale = Vector3.new(0.109999999, 0.0799999982, 0.0850000009) | |
| 944 | hm.MeshId = "rbxassetid://561963999" | |
| 945 | hm.MeshType = Enum.MeshType.FileMesh | |
| 946 | local w = Instance.new("ManualWeld",hair)
| |
| 947 | w.Part0 = hair | |
| 948 | w.Part1 = character.Head | |
| 949 | w.C1 = CFrame.new(-1.52587891e-05, -1.69999814, 1.29998398, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 950 | end | |
| 951 | ||
| 952 | if hatr == 5 then | |
| 953 | print("5")
| |
| 954 | hair.Size = Vector3.new(0.5, 0.400000006, 0.400000006) | |
| 955 | local hm = Instance.new("SpecialMesh",hair)
| |
| 956 | hm.MeshId = "rbxassetid://437152207" | |
| 957 | hm.Scale = Vector3.new(0.0649999976, 0.0599999987, 0.0599999987) | |
| 958 | hm.MeshType = Enum.MeshType.FileMesh | |
| 959 | local w = Instance.new("ManualWeld",hair)
| |
| 960 | w.Part0 = hair | |
| 961 | w.Part1 = character.Head | |
| 962 | w.C1 = CFrame.new(0.049987793, -1.19999862, 3.81469727e-06, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 963 | end | |
| 964 | ||
| 965 | if hatr == 6 then | |
| 966 | print("6")
| |
| 967 | hair.Size = Vector3.new(2.16, 2.367, 1.642) | |
| 968 | local hm = Instance.new("SpecialMesh",hair)
| |
| 969 | hm.MeshId = "rbxassetid://527906256" | |
| 970 | hm.MeshType = Enum.MeshType.FileMesh | |
| 971 | hm.Scale = Vector3.new(0.07, 0.07, 0.07) | |
| 972 | local w = Instance.new("ManualWeld",hair)
| |
| 973 | w.Part0 = hair | |
| 974 | w.Part1 = character.Head | |
| 975 | w.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 976 | w.C1 = CFrame.new(0, 0, 0, -0.984807849, 0, 0.173648313, 0, 1, 0, -0.173648313, 0, -0.984807849) | |
| 977 | end | |
| 978 | ||
| 979 | if hatr == 7 then | |
| 980 | print("7")
| |
| 981 | hair.Size = Vector3.new(1.6, 1.08, 1.49) | |
| 982 | local hm = Instance.new("SpecialMesh",hair)
| |
| 983 | hm.MeshId = "rbxassetid://1164734026" | |
| 984 | hm.MeshType = Enum.MeshType.FileMesh | |
| 985 | hm.Scale = Vector3.new(1.3, 1.4, 1.3) | |
| 986 | local w = Instance.new("ManualWeld",hair)
| |
| 987 | w.Part0 = hair | |
| 988 | w.Part1 = character.Head | |
| 989 | w.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 990 | w.C1 = CFrame.new(0, -1.4000001, 0, 0.98480773, 0, 0.173648134, 0, 1, 0, -0.173648134, 0, 0.98480773) | |
| 991 | end | |
| 992 | ||
| 993 | end | |
| 994 | end | |
| 995 | end | |
| 996 | end | |
| 997 | end | |
| 998 | end | |
| 999 | end) | |
| 1000 | wait(0.5) | |
| 1001 | normalanim = true | |
| 1002 | hum.WalkSpeed = 13 | |
| 1003 | attackd = false | |
| 1004 | sp:Stop() | |
| 1005 | end | |
| 1006 | end | |
| 1007 | ||
| 1008 | if attackd == false then | |
| 1009 | if mode.Value == "insane" then | |
| 1010 | attackd = true | |
| 1011 | normalanim = false | |
| 1012 | hum.WalkSpeed = 4 | |
| 1013 | sp:play() | |
| 1014 | wait(0.5) | |
| 1015 | mus:Play() | |
| 1016 | mus.TimePosition = 0.1 | |
| 1017 | local bull5 = Instance.new("Part",char)
| |
| 1018 | bull5.Shape = "Ball" | |
| 1019 | bull5.Name = "Bullet" | |
| 1020 | bull5.BrickColor = BrickColor.new("White")
| |
| 1021 | bull5.Material = "Neon" | |
| 1022 | bull5.Size = Vector3.new(4,4,4) | |
| 1023 | bull5.CanCollide = false | |
| 1024 | bull5.CFrame = char.Torso.CFrame | |
| 1025 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 1026 | bull5.Touched:Connect(function(hit) | |
| 1027 | if hit.Parent then | |
| 1028 | local character = hit.Parent | |
| 1029 | if not(character == char or hit.Name == "Bullet") then | |
| 1030 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1031 | hit.Parent = workspace | |
| 1032 | local num1 = math.random(-100,100) | |
| 1033 | local num2 = math.random(-1,100) | |
| 1034 | local num3 = math.random(-100,100) | |
| 1035 | local num4 = math.random(0.1,2) | |
| 1036 | local num5 = math.random(0.1,2) | |
| 1037 | local num6 = math.random(0.1,2) | |
| 1038 | hit:BreakJoints() | |
| 1039 | hit.Anchored = false | |
| 1040 | hit.CanCollide = true | |
| 1041 | hit.Transparency = 0 | |
| 1042 | hit.Material = "Neon" | |
| 1043 | hit.BrickColor = BrickColor.new("White")
| |
| 1044 | hit.Size = Vector3.new(num4, num5, num6) | |
| 1045 | hit.Velocity = Vector3.new(num1, num2, num3) | |
| 1046 | end | |
| 1047 | end | |
| 1048 | end | |
| 1049 | end) | |
| 1050 | wait(0.5) | |
| 1051 | normalanim = true | |
| 1052 | hum.WalkSpeed = 13 | |
| 1053 | attackd = false | |
| 1054 | sp:Stop() | |
| 1055 | end | |
| 1056 | end | |
| 1057 | ||
| 1058 | if mode.Value == "murderer" then | |
| 1059 | if attackd == false then | |
| 1060 | attackd = true | |
| 1061 | normalanim = false | |
| 1062 | hum.WalkSpeed = 4 | |
| 1063 | sp:play() | |
| 1064 | wait(0.5) | |
| 1065 | mus:Play() | |
| 1066 | mus.TimePosition = 0.1 | |
| 1067 | local bull = Instance.new("Part",char)
| |
| 1068 | bull.Name = "Bullet" | |
| 1069 | bull.BrickColor = BrickColor.new("Really black")
| |
| 1070 | bull.Size = Vector3.new(0.4, 3, 0.8) | |
| 1071 | bull.CanCollide = false | |
| 1072 | local m = Instance.new("SpecialMesh",bull)
| |
| 1073 | m.MeshId = "http://www.roblox.com/asset/?id=121944778" | |
| 1074 | m.TextureId = "http://www.roblox.com/asset/?id=121944805" | |
| 1075 | bull.CFrame = char.Torso.CFrame | |
| 1076 | bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 1077 | bull.Touched:Connect(function(hit) | |
| 1078 | if hit.Parent then | |
| 1079 | local character = hit.Parent | |
| 1080 | if not(character == char or hit.Name == "Bullet") then | |
| 1081 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1082 | if hit.Name == "LowerTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" and not(hit.Name == "s") then | |
| 1083 | bull:Destroy() | |
| 1084 | hit.Parent = workspace | |
| 1085 | hit.Name = "s" | |
| 1086 | hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 1087 | hit.CanCollide = true | |
| 1088 | local kn = Instance.new("Part",character)
| |
| 1089 | kn.Name = "Bullet" | |
| 1090 | kn.Size = Vector3.new(0.4, 3, 0.8) | |
| 1091 | local w = Instance.new("Weld",kn)
| |
| 1092 | w.Part0 = kn | |
| 1093 | local m = Instance.new("SpecialMesh",kn)
| |
| 1094 | m.MeshId = "http://www.roblox.com/asset/?id=121944778" | |
| 1095 | m.TextureId = "http://www.roblox.com/asset/?id=121944805" | |
| 1096 | w.Part1 = hit | |
| 1097 | w.C0 = CFrame.new(0, 1.20000005, 0, 1, 0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08) | |
| 1098 | hit:MakeJoints() | |
| 1099 | end | |
| 1100 | end | |
| 1101 | end | |
| 1102 | end | |
| 1103 | end) | |
| 1104 | wait(0.5) | |
| 1105 | normalanim = true | |
| 1106 | hum.WalkSpeed = 13 | |
| 1107 | attackd = false | |
| 1108 | sp:Stop() | |
| 1109 | end | |
| 1110 | end | |
| 1111 | ||
| 1112 | if mode.Value == "pm" then | |
| 1113 | if attackd == false then | |
| 1114 | attackd = true | |
| 1115 | normalanim = false | |
| 1116 | wait(0.1) | |
| 1117 | RS.C0 = RS.C0:Lerp(RSnor, 0.15) | |
| 1118 | LS.C0 = LS.C0:Lerp(LSnor, 0.15) | |
| 1119 | RS.C1 = RS.C1:Lerp(RSnor2, 0.15) | |
| 1120 | LS.C1 = LS.C1:Lerp(LSnor2, 0.15) | |
| 1121 | hum.WalkSpeed = 4 | |
| 1122 | sp:play() | |
| 1123 | wait(0.5) | |
| 1124 | mus:Play() | |
| 1125 | local bull = Instance.new("Part",char)
| |
| 1126 | bull.Name = "Bullet" | |
| 1127 | bull.BrickColor = BrickColor.new("Really black")
| |
| 1128 | bull.Size = Vector3.new(1.4, 3, 0.4) | |
| 1129 | bull.CanCollide = false | |
| 1130 | local m = Instance.new("SpecialMesh",bull)
| |
| 1131 | m.MeshId = "http://www.roblox.com/asset?id=145815658" | |
| 1132 | m.TextureId = "http://www.roblox.com/asset?id=145815673" | |
| 1133 | m.Scale = Vector3.new(1, 0.5, 0.5) | |
| 1134 | bull.CFrame = char.Torso.CFrame | |
| 1135 | bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 1136 | bull.Touched:Connect(function(hit) | |
| 1137 | if hit.Parent then | |
| 1138 | local character = hit.Parent | |
| 1139 | if not(character == char or hit.Name == "Bullet") then | |
| 1140 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1141 | if hit.Name == "LowerTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" and not(hit.Name == "s") then | |
| 1142 | bull:Destroy() | |
| 1143 | hit.Parent = workspace | |
| 1144 | hit.Name = "s" | |
| 1145 | hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 1146 | hit.CanCollide = true | |
| 1147 | local kn = Instance.new("Part",character)
| |
| 1148 | kn.Name = "Bullet" | |
| 1149 | kn.Size = Vector3.new(0.4, 2, 0.4) | |
| 1150 | local w = Instance.new("Weld",kn)
| |
| 1151 | w.Part0 = kn | |
| 1152 | local m = Instance.new("SpecialMesh",kn)
| |
| 1153 | m.MeshId = "http://www.roblox.com/asset?id=145815658" | |
| 1154 | m.TextureId = "http://www.roblox.com/asset?id=145815673" | |
| 1155 | m.Scale = Vector3.new(1, 0.5, 0.5) | |
| 1156 | w.Part1 = hit | |
| 1157 | w.C1 = CFrame.new(0, -0.800000012, 1, 1, 0, 0, 0, 0.866025329, 0.500000179, 0, -0.500000179, 0.866025329) | |
| 1158 | hit:MakeJoints() | |
| 1159 | end | |
| 1160 | end | |
| 1161 | end | |
| 1162 | end | |
| 1163 | end) | |
| 1164 | wait(0.5) | |
| 1165 | normalanim = true | |
| 1166 | hum.WalkSpeed = 13 | |
| 1167 | attackd = false | |
| 1168 | sp:Stop() | |
| 1169 | end | |
| 1170 | end | |
| 1171 | ||
| 1172 | if mode.Value == "normal" then | |
| 1173 | if attackd == false then | |
| 1174 | attackd = true | |
| 1175 | normalanim = false | |
| 1176 | hum.WalkSpeed = 4 | |
| 1177 | sp:play() | |
| 1178 | wait(0.5) | |
| 1179 | mus:Play() | |
| 1180 | mus.TimePosition = 0.1 | |
| 1181 | local bull = Instance.new("Part",char)
| |
| 1182 | bull.Shape = "Ball" | |
| 1183 | bull.Name = "Bullet" | |
| 1184 | bull.BrickColor = BrickColor.new("Really black")
| |
| 1185 | bull.Size = Vector3.new(1.5,1.5,1.5) | |
| 1186 | bull.CanCollide = false | |
| 1187 | bull.CFrame = char.Torso.CFrame | |
| 1188 | bull.Velocity = Vector3.new(0,5,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 1189 | bull.Touched:Connect(function(hit) | |
| 1190 | if hit.Parent then | |
| 1191 | local character = hit.Parent | |
| 1192 | if not(character == char or hit.Name == "Bullet") then | |
| 1193 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1194 | hit.Parent = workspace | |
| 1195 | hit.Anchored = false | |
| 1196 | hit.CanCollide = true | |
| 1197 | hit:BreakJoints() | |
| 1198 | end | |
| 1199 | end | |
| 1200 | end | |
| 1201 | end) | |
| 1202 | wait(0.5) | |
| 1203 | normalanim = true | |
| 1204 | hum.WalkSpeed = 13 | |
| 1205 | attackd = false | |
| 1206 | sp:Stop() | |
| 1207 | end | |
| 1208 | end | |
| 1209 | end | |
| 1210 | ||
| 1211 | if key == Enum.KeyCode.G then | |
| 1212 | if mode.Value == "gone" then | |
| 1213 | attackd = true | |
| 1214 | normalanim = false | |
| 1215 | hum.WalkSpeed = 4 | |
| 1216 | sp:play() | |
| 1217 | wait(0.5) | |
| 1218 | mus:Play() | |
| 1219 | mus.TimePosition = 0.1 | |
| 1220 | local bull5 = Instance.new("Part",workspace)
| |
| 1221 | bull5.Shape = "Ball" | |
| 1222 | bull5.Name = "Bullet" | |
| 1223 | bull5.BrickColor = BrickColor.new("White")
| |
| 1224 | bull5.Size = Vector3.new(2,2,2) | |
| 1225 | bull5.Transparency = 0.5 | |
| 1226 | bull5.CanCollide = false | |
| 1227 | bull5.CFrame = char.Torso.CFrame | |
| 1228 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 1229 | bull5.Touched:Connect(function(hit) | |
| 1230 | if hit.Parent then | |
| 1231 | local character = hit.Parent | |
| 1232 | if not(character == char or hit.Name == "Bullet") then | |
| 1233 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1234 | local character = hit.Parent | |
| 1235 | bull5:Destroy() | |
| 1236 | for i = 1,70 do | |
| 1237 | wait(0.01) | |
| 1238 | for i,hit in pairs(character:GetChildren()) do | |
| 1239 | if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then | |
| 1240 | if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then | |
| 1241 | for i,s in pairs(hit:GetChildren()) do | |
| 1242 | s:Destroy() | |
| 1243 | end | |
| 1244 | hit.Anchored = true | |
| 1245 | hit.BrickColor = BrickColor.new("Really red")
| |
| 1246 | hit.Material = "Neon" | |
| 1247 | hit.Transparency = hit.Transparency + i/100 | |
| 1248 | end | |
| 1249 | end | |
| 1250 | end | |
| 1251 | end | |
| 1252 | for i,hit in pairs(character:GetChildren()) do | |
| 1253 | if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then | |
| 1254 | if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then | |
| 1255 | hit:Destroy() | |
| 1256 | end | |
| 1257 | end | |
| 1258 | end | |
| 1259 | ||
| 1260 | end | |
| 1261 | end | |
| 1262 | end | |
| 1263 | end) | |
| 1264 | wait(0.5) | |
| 1265 | normalanim = true | |
| 1266 | hum.WalkSpeed = 13 | |
| 1267 | attackd = false | |
| 1268 | sp:Stop() | |
| 1269 | end | |
| 1270 | ||
| 1271 | if mode.Value == "normal" then | |
| 1272 | local bull4 = Instance.new("Part",char)
| |
| 1273 | bull4.Name = "Bullet" | |
| 1274 | bull4.BrickColor = BrickColor.new("Really black")
| |
| 1275 | bull4.Size = Vector3.new(4.2, 2.23, 2) | |
| 1276 | bull4.CanCollide = false | |
| 1277 | bull4.CFrame = char.Torso.CFrame | |
| 1278 | local me = Instance.new("SpecialMesh",bull4)
| |
| 1279 | me.MeshId = "http://www.roblox.com/asset/?id=84302661" | |
| 1280 | me.TextureId = "http://www.roblox.com/asset/?id=84302759" | |
| 1281 | bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 1282 | wait(0.1) | |
| 1283 | bull4.CanCollide = true | |
| 1284 | bull4.Touched:Connect(function(hit) | |
| 1285 | if hit.Parent then | |
| 1286 | local character = hit.Parent | |
| 1287 | if not(character == char or hit.Name == "Bullet") then | |
| 1288 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1289 | hit.CFrame = hit.CFrame + Vector3.new(0,0.1,0) | |
| 1290 | end | |
| 1291 | end | |
| 1292 | end | |
| 1293 | end) | |
| 1294 | wait(4) | |
| 1295 | mus2.Volume = 1 | |
| 1296 | mus2.TimePosition = 0.6 | |
| 1297 | mus2.Pitch = 0.3 | |
| 1298 | me:Destroy() | |
| 1299 | bull4.BrickColor = BrickColor.new("Really blue")
| |
| 1300 | bull4.Anchored = true | |
| 1301 | bull4.CanCollide = false | |
| 1302 | bull4.Shape = "Ball" | |
| 1303 | bull4.Transparency = 0.8 | |
| 1304 | bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0) | |
| 1305 | bull4.Parent = workspace | |
| 1306 | for i = 1,360 do | |
| 1307 | game:GetService("RunService").Heartbeat:Wait()
| |
| 1308 | bull4.Size = bull4.Size + Vector3.new(0.1,0.1,0.1) | |
| 1309 | end | |
| 1310 | wait(0.2) | |
| 1311 | bull4.Anchored = false | |
| 1312 | bull4.CanCollide = false | |
| 1313 | wait(1) | |
| 1314 | mus2.Volume = 0 | |
| 1315 | bull4:Destroy() | |
| 1316 | end | |
| 1317 | if mode.Value == "funnyguy" then | |
| 1318 | local bull4 = Instance.new("Part",char)
| |
| 1319 | bull4.Name = "Bullet" | |
| 1320 | bull4.BrickColor = BrickColor.new("Really black")
| |
| 1321 | bull4.Size = Vector3.new(2,2,2) | |
| 1322 | bull4.CanCollide = false | |
| 1323 | bull4.CFrame = char.Torso.CFrame | |
| 1324 | local me = Instance.new("SpecialMesh",bull4)
| |
| 1325 | me.MeshId = "rbxasset://fonts/timebomb.mesh" | |
| 1326 | bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 1327 | wait(0.1) | |
| 1328 | bull4.CanCollide = true | |
| 1329 | bull4.Touched:Connect(function(hit) | |
| 1330 | if hit.Parent then | |
| 1331 | local character = hit.Parent | |
| 1332 | if not(character == char or hit.Name == "Bullet") then | |
| 1333 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1334 | hit.Anchored = true | |
| 1335 | hit.BrickColor = BrickColor.new("Really black")
| |
| 1336 | hit.CanCollide = true | |
| 1337 | hit.Parent = workspace | |
| 1338 | hit:MakeJoints() | |
| 1339 | wait(0.1) | |
| 1340 | hit.Anchored = false | |
| 1341 | end | |
| 1342 | end | |
| 1343 | end | |
| 1344 | end) | |
| 1345 | wait(4) | |
| 1346 | me:Destroy() | |
| 1347 | bull4.BrickColor = BrickColor.new("Really black")
| |
| 1348 | bull4.Anchored = true | |
| 1349 | bull4.CanCollide = false | |
| 1350 | bull4.Shape = "Ball" | |
| 1351 | bull4.Transparency = 0.5 | |
| 1352 | bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0) | |
| 1353 | bull4.Parent = workspace | |
| 1354 | for i = 1,360 do | |
| 1355 | game:GetService("RunService").Heartbeat:Wait()
| |
| 1356 | bull4.Size = bull4.Size + Vector3.new(0.1,0.1,0.1) | |
| 1357 | end | |
| 1358 | wait(0.2) | |
| 1359 | bull4.Anchored = false | |
| 1360 | bull4.CanCollide = false | |
| 1361 | wait(1) | |
| 1362 | bull4:Destroy() | |
| 1363 | end | |
| 1364 | end | |
| 1365 | ||
| 1366 | if key == Enum.KeyCode.C then | |
| 1367 | if mode.Value == "pm" then | |
| 1368 | if attackd == false then | |
| 1369 | attackd = true | |
| 1370 | normalanim = false | |
| 1371 | wait(0.1) | |
| 1372 | RS.C0 = RS.C0:Lerp(RSnor, 0.15) | |
| 1373 | LS.C0 = LS.C0:Lerp(LSnor, 0.15) | |
| 1374 | RS.C1 = RS.C1:Lerp(RSnor2, 0.15) | |
| 1375 | LS.C1 = LS.C1:Lerp(LSnor2, 0.15) | |
| 1376 | hum.WalkSpeed = 4 | |
| 1377 | sp:play() | |
| 1378 | wait(0.5) | |
| 1379 | mus:Play() | |
| 1380 | local bull = Instance.new("Part",char)
| |
| 1381 | bull.Name = "Bullet" | |
| 1382 | bull.BrickColor = BrickColor.new("White")
| |
| 1383 | bull.Material = "Neon" | |
| 1384 | bull.Size = Vector3.new(1.4, 3, 0.4) | |
| 1385 | bull.CanCollide = false | |
| 1386 | local m = Instance.new("SpecialMesh",bull)
| |
| 1387 | m.MeshId = "http://www.roblox.com/asset?id=145815658" | |
| 1388 | m.Scale = Vector3.new(1, 0.5, 0.5) | |
| 1389 | bull.CFrame = char.Torso.CFrame | |
| 1390 | bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 1391 | bull.Touched:Connect(function(hit) | |
| 1392 | if hit.Parent then | |
| 1393 | local character = hit.Parent | |
| 1394 | if not(character == char or hit.Name == "Bullet") then | |
| 1395 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1396 | if hit.Name == "LowerTorso" or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "RightLowerArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "LeftUpperArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" and not(hit.Name == "s") then | |
| 1397 | bull:Destroy() | |
| 1398 | hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 1399 | hit.CanCollide = true | |
| 1400 | local kn = Instance.new("Part",character)
| |
| 1401 | kn.Name = "Bullet" | |
| 1402 | kn.Size = Vector3.new(0.4, 2, 0.4) | |
| 1403 | local w = Instance.new("Weld",kn)
| |
| 1404 | w.Part0 = kn | |
| 1405 | local m = Instance.new("SpecialMesh",kn)
| |
| 1406 | m.MeshId = "http://www.roblox.com/asset?id=145815658" | |
| 1407 | kn.BrickColor = BrickColor.new("White")
| |
| 1408 | kn.Material = "Neon" | |
| 1409 | m.Scale = Vector3.new(1, 0.5, 0.5) | |
| 1410 | w.Part1 = hit | |
| 1411 | w.C1 = CFrame.new(0, -0.800000012, 1, 1, 0, 0, 0, 0.866025329, 0.500000179, 0, -0.500000179, 0.866025329) | |
| 1412 | hit:MakeJoints() | |
| 1413 | for i,hit in pairs(character:GetChildren()) do | |
| 1414 | if hit.Name == "LowerTorso" or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" and not(hit.Name == "s") then | |
| 1415 | hit.Parent = workspace | |
| 1416 | local num1 = math.random(-100,100) | |
| 1417 | local num2 = math.random(-1,100) | |
| 1418 | local num3 = math.random(-100,100) | |
| 1419 | local num4 = math.random(0.1,2) | |
| 1420 | local num5 = math.random(0.1,2) | |
| 1421 | local num6 = math.random(0.1,2) | |
| 1422 | hit:BreakJoints() | |
| 1423 | hit.Anchored = false | |
| 1424 | hit.CanCollide = true | |
| 1425 | hit.Transparency = 0 | |
| 1426 | hit.Material = "Neon" | |
| 1427 | hit.BrickColor = BrickColor.new("White")
| |
| 1428 | hit.Size = Vector3.new(num4, num5, num6) | |
| 1429 | hit.Velocity = Vector3.new(num1, num2, num3) | |
| 1430 | end | |
| 1431 | end | |
| 1432 | end | |
| 1433 | end | |
| 1434 | end | |
| 1435 | end | |
| 1436 | end) | |
| 1437 | wait(0.5) | |
| 1438 | normalanim = true | |
| 1439 | hum.WalkSpeed = 13 | |
| 1440 | attackd = false | |
| 1441 | sp:Stop() | |
| 1442 | end | |
| 1443 | end | |
| 1444 | ||
| 1445 | if attackd == false then | |
| 1446 | if mode.Value == "gone" then | |
| 1447 | attackd = true | |
| 1448 | normalanim = false | |
| 1449 | hum.WalkSpeed = 4 | |
| 1450 | sp:play() | |
| 1451 | wait(0.5) | |
| 1452 | mus:Play() | |
| 1453 | mus.TimePosition = 0.1 | |
| 1454 | local bull5 = Instance.new("Part",workspace)
| |
| 1455 | bull5.Shape = "Ball" | |
| 1456 | bull5.Name = "Bullet" | |
| 1457 | bull5.BrickColor = BrickColor.new("Really black")
| |
| 1458 | bull5.Size = Vector3.new(2,2,2) | |
| 1459 | bull5.Transparency = 0.5 | |
| 1460 | bull5.CanCollide = false | |
| 1461 | bull5.CFrame = char.Torso.CFrame | |
| 1462 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 1463 | bull5.Touched:Connect(function(hit) | |
| 1464 | if hit.Parent then | |
| 1465 | local character = hit.Parent | |
| 1466 | if not(character == char or hit.Name == "Bullet") then | |
| 1467 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1468 | if not(hit == bull5) then | |
| 1469 | if not(hit.Parent == workspace) then | |
| 1470 | if not(hit.Parent.Name == "Minion") then | |
| 1471 | bull5:Destroy() | |
| 1472 | if not(character:FindFirstChild("Head") == nil) then
| |
| 1473 | local posX = character.Head.Position.X | |
| 1474 | local posY = character.Head.Position.Y | |
| 1475 | local posZ = character.Head.Position.Z | |
| 1476 | character.Head:Destroy() | |
| 1477 | ||
| 1478 | for i,v in pairs(character:GetChildren()) do | |
| 1479 | v:Destroy() | |
| 1480 | end | |
| 1481 | ||
| 1482 | local plr = owner | |
| 1483 | local m = Instance.new("Model", char)
| |
| 1484 | m.Name = "Minion" | |
| 1485 | local h = Instance.new("Part",m)
| |
| 1486 | h.Name = "Head" | |
| 1487 | local me = plr.Character.Head.Mesh:Clone() | |
| 1488 | me.Parent = h | |
| 1489 | h.Size = char.Head.Size | |
| 1490 | h:BreakJoints() | |
| 1491 | h.CanCollide = false | |
| 1492 | h.Position = Vector3.new(posX,posY,posZ) | |
| 1493 | local t = Instance.new("Part",m)
| |
| 1494 | t.Name = "Torso" | |
| 1495 | t.Size = plr.Character.Torso.Size | |
| 1496 | t:BreakJoints() | |
| 1497 | t.CanCollide = false | |
| 1498 | t.Position = plr.Character.Torso.Position | |
| 1499 | t.Position = h.Position - Vector3.new(0, 2, 0) | |
| 1500 | ||
| 1501 | local ra = Instance.new("Part",m)
| |
| 1502 | ra.Name = "Right Arm" | |
| 1503 | ra.Size = plr.Character["Right Arm"].Size | |
| 1504 | ra:BreakJoints() | |
| 1505 | ra.Position = plr.Character["Right Arm"].Position | |
| 1506 | ra.Position = ra.Position + Vector3.new(0, 10, 0) | |
| 1507 | ||
| 1508 | local la = Instance.new("Part",m)
| |
| 1509 | la.Name = "Left Arm" | |
| 1510 | la.Size = plr.Character["Left Arm"].Size | |
| 1511 | la:BreakJoints() | |
| 1512 | la.Position = plr.Character["Left Arm"].Position | |
| 1513 | la.Position = la.Position + Vector3.new(0, 10, 0) | |
| 1514 | ||
| 1515 | local ll = Instance.new("Part",m)
| |
| 1516 | ll.Name = "Left Leg" | |
| 1517 | ll.Size = plr.Character["Left Leg"].Size | |
| 1518 | ll:BreakJoints() | |
| 1519 | ll.Position = plr.Character["Left Leg"].Position | |
| 1520 | ll.Position = ll.Position + Vector3.new(0, 10, 0) | |
| 1521 | ||
| 1522 | local rl = Instance.new("Part",m)
| |
| 1523 | rl.Name = "Right Leg" | |
| 1524 | rl.Size = plr.Character["Right Leg"].Size | |
| 1525 | rl:BreakJoints() | |
| 1526 | rl.Position = plr.Character["Right Leg"].Position | |
| 1527 | rl.Position = rl.Position + Vector3.new(0, 10, 0) | |
| 1528 | ||
| 1529 | for i,v in pairs(m:GetChildren()) do | |
| 1530 | if v.ClassName == "Part" then | |
| 1531 | v.BrickColor = BrickColor.new("Really black")
| |
| 1532 | end | |
| 1533 | v:BreakJoints() | |
| 1534 | end | |
| 1535 | ||
| 1536 | local neck = Instance.new("Motor6D")
| |
| 1537 | neck.Name = "Neck" | |
| 1538 | neck.Part0 = t | |
| 1539 | neck.Part1 = h | |
| 1540 | neck.Parent = t | |
| 1541 | neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 1542 | neck.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 1543 | ||
| 1544 | local rs = Instance.new("Motor6D")
| |
| 1545 | rs.Name = "Right Shoulder" | |
| 1546 | rs.Part0 = t | |
| 1547 | rs.Part1 = ra | |
| 1548 | rs.Parent = t | |
| 1549 | rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 1550 | rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 1551 | ||
| 1552 | local ls = Instance.new("Motor6D")
| |
| 1553 | ls.Name = "Left Shoulder" | |
| 1554 | ls.Part0 = t | |
| 1555 | ls.Part1 = la | |
| 1556 | ls.Parent = t | |
| 1557 | ls.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1558 | ls.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1559 | ||
| 1560 | local lh = Instance.new("Motor6D")
| |
| 1561 | lh.Name = "Left Hip" | |
| 1562 | lh.Part0 = t | |
| 1563 | lh.Part1 = ll | |
| 1564 | lh.Parent = t | |
| 1565 | lh.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1566 | lh.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1567 | ||
| 1568 | local rh = Instance.new("Motor6D")
| |
| 1569 | rh.Name = "Right Hip" | |
| 1570 | rh.Part0 = t | |
| 1571 | rh.Part1 = rl | |
| 1572 | rh.Parent = t | |
| 1573 | rh.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 1574 | rh.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 1575 | ||
| 1576 | wait(0.000000000000001) | |
| 1577 | ||
| 1578 | local hum = Instance.new("Humanoid", m)
| |
| 1579 | hum.MaxHealth = 0 | |
| 1580 | hum.Health = 0 | |
| 1581 | hum.WalkSpeed = 15 | |
| 1582 | hum.Name = "minion" | |
| 1583 | ||
| 1584 | for i,v in pairs(character:GetChildren()) do | |
| 1585 | v:Destroy() | |
| 1586 | end | |
| 1587 | end | |
| 1588 | end | |
| 1589 | end | |
| 1590 | end | |
| 1591 | end | |
| 1592 | end | |
| 1593 | end | |
| 1594 | end) | |
| 1595 | wait(0.5) | |
| 1596 | normalanim = true | |
| 1597 | hum.WalkSpeed = 13 | |
| 1598 | attackd = false | |
| 1599 | sp:Stop() | |
| 1600 | end | |
| 1601 | end | |
| 1602 | ||
| 1603 | if attackd == false then | |
| 1604 | if mode.Value == "insane" then | |
| 1605 | attackd = true | |
| 1606 | normalanim = false | |
| 1607 | hum.WalkSpeed = 4 | |
| 1608 | sp:play() | |
| 1609 | wait(0.5) | |
| 1610 | mus:Play() | |
| 1611 | mus.TimePosition = 0.1 | |
| 1612 | local bull5 = Instance.new("Part",workspace)
| |
| 1613 | bull5.Shape = "Block" | |
| 1614 | bull5.Name = "Bullet" | |
| 1615 | bull5.BrickColor = BrickColor.new("White")
| |
| 1616 | bull5.Material = "Neon" | |
| 1617 | bull5.Size = Vector3.new(0.5,0.5,3) | |
| 1618 | bull5.CanCollide = false | |
| 1619 | bull5.CFrame = char.Torso.CFrame | |
| 1620 | bull5.Orientation = char.Torso.Orientation | |
| 1621 | local flame = Instance.new("Part",bull5)
| |
| 1622 | flame.Size = Vector3.new(0.5,0.5,0.5) | |
| 1623 | flame.Transparency = 1 | |
| 1624 | flame.Name = "Bullet" | |
| 1625 | local f = Instance.new("Fire",flame)
| |
| 1626 | f.Heat = 1 | |
| 1627 | f.Size = 1 | |
| 1628 | local w = Instance.new("Weld",flame)
| |
| 1629 | w.Part1 = bull5 | |
| 1630 | w.Part0 = flame | |
| 1631 | w.C1 = CFrame.new(0, 0, -1.4000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1632 | f.SecondaryColor = Color3.new(255,255,255) | |
| 1633 | f.Color = Color3.new(255,255,255) | |
| 1634 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 100 | |
| 1635 | wait(0.1) | |
| 1636 | bull5.CanCollide = true | |
| 1637 | bull5.Touched:Connect(function(hit) | |
| 1638 | if hit.Parent then | |
| 1639 | local character = hit.Parent | |
| 1640 | if not(character == char or hit.Name == "Bullet") then | |
| 1641 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1642 | for i,hit in pairs(character:GetChildren()) do | |
| 1643 | if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then | |
| 1644 | if not(hit == flame or hit == bull5) then | |
| 1645 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1646 | hit.Parent = workspace | |
| 1647 | local num1 = math.random(-100,100) | |
| 1648 | local num2 = math.random(-1,100) | |
| 1649 | local num3 = math.random(-100,100) | |
| 1650 | local num4 = math.random(0.1,2) | |
| 1651 | local num5 = math.random(0.1,2) | |
| 1652 | local num6 = math.random(0.1,2) | |
| 1653 | hit:BreakJoints() | |
| 1654 | hit.Anchored = false | |
| 1655 | hit.CanCollide = true | |
| 1656 | hit.Transparency = 0 | |
| 1657 | hit.Material = "Neon" | |
| 1658 | hit.BrickColor = BrickColor.new("White")
| |
| 1659 | hit.Size = Vector3.new(num4, num5, num6) | |
| 1660 | hit.Velocity = Vector3.new(num1, num2, num3) | |
| 1661 | end | |
| 1662 | end | |
| 1663 | end | |
| 1664 | end | |
| 1665 | end | |
| 1666 | end | |
| 1667 | end | |
| 1668 | end) | |
| 1669 | wait(0.5) | |
| 1670 | normalanim = true | |
| 1671 | hum.WalkSpeed = 13 | |
| 1672 | attackd = false | |
| 1673 | sp:Stop() | |
| 1674 | end | |
| 1675 | end | |
| 1676 | ||
| 1677 | if mode.Value == "funnyguy" then | |
| 1678 | local bull4 = Instance.new("Part",char)
| |
| 1679 | bull4.Name = "Bullet" | |
| 1680 | bull4.BrickColor = BrickColor.new("Really black")
| |
| 1681 | bull4.Size = Vector3.new(2,2,2) | |
| 1682 | bull4.CanCollide = false | |
| 1683 | bull4.CFrame = char.Torso.CFrame | |
| 1684 | local me = Instance.new("SpecialMesh",bull4)
| |
| 1685 | me.MeshId = "rbxasset://fonts/timebomb.mesh" | |
| 1686 | me.TextureId = "rbxasset://textures/bombtex.png" | |
| 1687 | bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 1688 | wait(0.1) | |
| 1689 | bull4.CanCollide = true | |
| 1690 | bull4.Touched:Connect(function(v) | |
| 1691 | if v.Parent then | |
| 1692 | local character = v.Parent | |
| 1693 | if not(character == char or v.Name == "Bullet") then | |
| 1694 | if not(v.Name == "Base" or v.Name == "Baseplate") then | |
| 1695 | if v.ClassName == "MeshPart" then | |
| 1696 | v.TextureID = "" | |
| 1697 | end | |
| 1698 | if v.ClassName == "UnionOperation" or v.ClassName == "MeshPart" or v.ClassName == "Part" then | |
| 1699 | for i,n in pairs(v:GetChildren()) do | |
| 1700 | if n.ClassName == "SpecialMesh" then | |
| 1701 | n.TextureId = "" | |
| 1702 | end | |
| 1703 | end | |
| 1704 | if not(v.Name == "Base" or v.Name == "Baseplate") then | |
| 1705 | local num1 = math.random(1,255) | |
| 1706 | local num2 = math.random(1,255) | |
| 1707 | local num2 = math.random(1,255) | |
| 1708 | v.Material = "Plastic" | |
| 1709 | v.Color = Color3.new(num1,num2,num3) | |
| 1710 | end | |
| 1711 | end | |
| 1712 | if v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "CharacterMesh" then | |
| 1713 | v:Destroy() | |
| 1714 | end | |
| 1715 | end | |
| 1716 | end | |
| 1717 | end | |
| 1718 | end) | |
| 1719 | wait(4) | |
| 1720 | me:Destroy() | |
| 1721 | bull4.BrickColor = BrickColor.new("Lime green")
| |
| 1722 | bull4.Anchored = true | |
| 1723 | bull4.CanCollide = false | |
| 1724 | bull4.Shape = "Ball" | |
| 1725 | bull4.Transparency = 0.5 | |
| 1726 | bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0) | |
| 1727 | bull4.Parent = workspace | |
| 1728 | for i = 1,360 do | |
| 1729 | game:GetService("RunService").Heartbeat:Wait()
| |
| 1730 | bull4.Size = bull4.Size + Vector3.new(0.2,0.2,0.2) | |
| 1731 | end | |
| 1732 | wait(0.2) | |
| 1733 | bull4.Anchored = false | |
| 1734 | bull4.CanCollide = false | |
| 1735 | wait(1) | |
| 1736 | bull4:Destroy() | |
| 1737 | end | |
| 1738 | ||
| 1739 | if mode.Value == "murderer" then | |
| 1740 | if attackd == false then | |
| 1741 | attackd = true | |
| 1742 | normalanim = false | |
| 1743 | hum.WalkSpeed = 4 | |
| 1744 | sp:play() | |
| 1745 | wait(0.5) | |
| 1746 | mus:Play() | |
| 1747 | mus.TimePosition = 0.1 | |
| 1748 | local bull = Instance.new("Part",char)
| |
| 1749 | bull.Name = "Bullet" | |
| 1750 | bull.BrickColor = BrickColor.new("Really black")
| |
| 1751 | bull.Size = Vector3.new(0.4, 3, 0.8) | |
| 1752 | bull.CanCollide = false | |
| 1753 | local m = Instance.new("SpecialMesh",bull)
| |
| 1754 | m.MeshId = "http://www.roblox.com/asset/?id=121944778" | |
| 1755 | bull.Material = "Neon" | |
| 1756 | bull.BrickColor = BrickColor.new("White")
| |
| 1757 | bull.CFrame = char.Torso.CFrame | |
| 1758 | bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 1759 | bull.Touched:Connect(function(hit) | |
| 1760 | if hit.Parent then | |
| 1761 | local character = hit.Parent | |
| 1762 | if not(character == char or hit.Name == "Bullet") then | |
| 1763 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1764 | if hit.Name == "LowerTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "LowerTorso" or hit.Name == "UpperTorso" and not(hit.Name == "s") then | |
| 1765 | bull:Destroy() | |
| 1766 | hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 1767 | hit.CanCollide = true | |
| 1768 | local kn = Instance.new("Part",character)
| |
| 1769 | kn.Name = "Bullet" | |
| 1770 | kn.Size = Vector3.new(0.4, 3, 0.8) | |
| 1771 | local w = Instance.new("Weld",kn)
| |
| 1772 | w.Part0 = kn | |
| 1773 | kn.Material = "Neon" | |
| 1774 | kn.BrickColor = BrickColor.new("White")
| |
| 1775 | local m = Instance.new("SpecialMesh",kn)
| |
| 1776 | m.MeshId = "http://www.roblox.com/asset/?id=121944778" | |
| 1777 | w.Part1 = hit | |
| 1778 | w.C0 = CFrame.new(0, 1.20000005, 0, 1, 0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08) | |
| 1779 | wait(1) | |
| 1780 | local num1 = math.random(0.1,2) | |
| 1781 | local num2 = math.random(0.1,2) | |
| 1782 | local num3 = math.random(0.1,2) | |
| 1783 | local num4 = math.random(-100,100) | |
| 1784 | local num5 = math.random(1,100) | |
| 1785 | local num6 = math.random(-100,100) | |
| 1786 | hit.Parent = workspace | |
| 1787 | hit:BreakJoints() | |
| 1788 | hit.BrickColor = BrickColor.new("White")
| |
| 1789 | hit.Material = "Neon" | |
| 1790 | hit.CanCollide = true | |
| 1791 | hit.Anchored = false | |
| 1792 | hit.Size = Vector3.new(num1,num2,num3) | |
| 1793 | hit.Velocity = Vector3.new(num4,num5,num6) | |
| 1794 | end | |
| 1795 | end | |
| 1796 | end | |
| 1797 | end | |
| 1798 | end) | |
| 1799 | wait(0.5) | |
| 1800 | normalanim = true | |
| 1801 | hum.WalkSpeed = 13 | |
| 1802 | attackd = false | |
| 1803 | sp:Stop() | |
| 1804 | end | |
| 1805 | end | |
| 1806 | if attackd == false then | |
| 1807 | if mode.Value == "normal" then | |
| 1808 | attackd = true | |
| 1809 | normalanim = false | |
| 1810 | hum.WalkSpeed = 4 | |
| 1811 | sp:play() | |
| 1812 | wait(0.5) | |
| 1813 | mus:Play() | |
| 1814 | mus.TimePosition = 0.1 | |
| 1815 | local bull3 = Instance.new("Part",char)
| |
| 1816 | bull3.Shape = "Ball" | |
| 1817 | bull3.Name = "Bullet" | |
| 1818 | bull3.BrickColor = BrickColor.new("Really black")
| |
| 1819 | bull3.Size = Vector3.new(5,5,5) | |
| 1820 | bull3.CanCollide = false | |
| 1821 | bull3.CFrame = char.Torso.CFrame | |
| 1822 | bull3.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 1823 | bull3.Touched:Connect(function(hit) | |
| 1824 | if hit.Parent then | |
| 1825 | local character = hit.Parent | |
| 1826 | if not(character == char or hit.Name == "Bullet") then | |
| 1827 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1828 | hit.Anchored = true | |
| 1829 | hit.BrickColor = BrickColor.new("Really black")
| |
| 1830 | hit.CanCollide = true | |
| 1831 | hit.Parent = workspace | |
| 1832 | hit:MakeJoints() | |
| 1833 | wait(0.1) | |
| 1834 | hit.Anchored = false | |
| 1835 | end | |
| 1836 | end | |
| 1837 | end | |
| 1838 | end) | |
| 1839 | wait(0.5) | |
| 1840 | normalanim = true | |
| 1841 | hum.WalkSpeed = 13 | |
| 1842 | attackd = false | |
| 1843 | sp:Stop() | |
| 1844 | end | |
| 1845 | end | |
| 1846 | end | |
| 1847 | ||
| 1848 | if key == Enum.KeyCode.R then | |
| 1849 | if mode.Value == "insane" then | |
| 1850 | attackd = true | |
| 1851 | normalanim = false | |
| 1852 | hum.WalkSpeed = 4 | |
| 1853 | sp:play() | |
| 1854 | wait(0.5) | |
| 1855 | mus:Play() | |
| 1856 | mus.TimePosition = 0.1 | |
| 1857 | local bull5 = Instance.new("Part",workspace)
| |
| 1858 | bull5.Shape = "Ball" | |
| 1859 | bull5.Name = "Bullet" | |
| 1860 | bull5.Material = "Marble" | |
| 1861 | bull5.BrickColor = BrickColor.new("Medium stone gray")
| |
| 1862 | bull5.Size = Vector3.new(2,2,2) | |
| 1863 | bull5.Transparency = 0.5 | |
| 1864 | bull5.CanCollide = false | |
| 1865 | bull5.CFrame = char.Torso.CFrame | |
| 1866 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 1867 | bull5.Touched:Connect(function(hit) | |
| 1868 | if hit.Parent then | |
| 1869 | local character = hit.Parent | |
| 1870 | if not(character == char or hit.Name == "Bullet") then | |
| 1871 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1872 | local character = hit.Parent | |
| 1873 | for i,hit in pairs(character:GetChildren()) do | |
| 1874 | if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then | |
| 1875 | if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then | |
| 1876 | hit.Anchored = false | |
| 1877 | hit.BrickColor = BrickColor.new("Medium stone gray")
| |
| 1878 | hit.Material = "Marble" | |
| 1879 | hit.Parent = workspace | |
| 1880 | hit.CanCollide = true | |
| 1881 | end | |
| 1882 | end | |
| 1883 | end | |
| 1884 | ||
| 1885 | end | |
| 1886 | end | |
| 1887 | end | |
| 1888 | end) | |
| 1889 | wait(0.5) | |
| 1890 | normalanim = true | |
| 1891 | hum.WalkSpeed = 13 | |
| 1892 | attackd = false | |
| 1893 | sp:Stop() | |
| 1894 | end | |
| 1895 | ||
| 1896 | if attackd == false then | |
| 1897 | if mode.Value == "normal" then | |
| 1898 | attackd = true | |
| 1899 | normalanim = false | |
| 1900 | hum.WalkSpeed = 4 | |
| 1901 | sp:play() | |
| 1902 | wait(0.5) | |
| 1903 | mus:Play() | |
| 1904 | mus.TimePosition = 0.1 | |
| 1905 | local bull3 = Instance.new("Part",char)
| |
| 1906 | bull3.Shape = "Ball" | |
| 1907 | bull3.Name = "Bullet" | |
| 1908 | bull3.BrickColor = BrickColor.new("Baby blue")
| |
| 1909 | bull3.Size = Vector3.new(2,2,2) | |
| 1910 | bull3.Material = "Ice" | |
| 1911 | bull3.CanCollide = false | |
| 1912 | bull3.CFrame = char.Torso.CFrame | |
| 1913 | bull3.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 1914 | bull3.Touched:Connect(function(hit) | |
| 1915 | if hit.Parent then | |
| 1916 | local character = hit.Parent | |
| 1917 | if character:FindFirstChild("Bullfr") == nil then
| |
| 1918 | if not(character == char or hit.Name == "Bullet") then | |
| 1919 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 1920 | local hum = character:FindFirstChildOfClass("Humanoid")
| |
| 1921 | if hum then | |
| 1922 | local b = Instance.new("ObjectValue",character)
| |
| 1923 | b.Name = "Bullfr" | |
| 1924 | for i,v in pairs(character:GetChildren()) do | |
| 1925 | if v.ClassName == "MeshPart" or v.ClassName == "Part" then | |
| 1926 | if not(v.Name == "Base" or v.Name == "Baseplate") then | |
| 1927 | v.Material = "Ice" | |
| 1928 | v.BrickColor = BrickColor.new("Baby blue")
| |
| 1929 | v.CanCollide = true | |
| 1930 | v.Parent = workspace | |
| 1931 | v:MakeJoints() | |
| 1932 | v.Anchored = false | |
| 1933 | end | |
| 1934 | end | |
| 1935 | hit.Anchored = false | |
| 1936 | local prev | |
| 1937 | local parts = character:GetChildren() | |
| 1938 | ||
| 1939 | for i = 1,#parts do | |
| 1940 | if (parts[i].className == "Part") then | |
| 1941 | if (prev ~= nil)then | |
| 1942 | local weld = Instance.new("Weld")
| |
| 1943 | weld.Part0 = prev | |
| 1944 | weld.Part1 = parts[i] | |
| 1945 | weld.C0 = prev.CFrame:inverse() | |
| 1946 | weld.C1 = parts[i].CFrame:inverse() | |
| 1947 | weld.Parent = prev | |
| 1948 | end | |
| 1949 | prev = parts[i] | |
| 1950 | end | |
| 1951 | end | |
| 1952 | ||
| 1953 | local prev2 | |
| 1954 | local parts2 = character:GetChildren() | |
| 1955 | ||
| 1956 | for i = 1,#parts2 do | |
| 1957 | if (parts2[i].className == "MeshPart") then | |
| 1958 | if (prev2 ~= nil)then | |
| 1959 | local weld = Instance.new("Weld")
| |
| 1960 | weld.Part0 = prev2 | |
| 1961 | weld.Part1 = parts2[i] | |
| 1962 | weld.C0 = prev2.CFrame:inverse() | |
| 1963 | weld.C1 = parts2[i].CFrame:inverse() | |
| 1964 | weld.Parent = prev2 | |
| 1965 | end | |
| 1966 | prev2 = parts2[i] | |
| 1967 | end | |
| 1968 | end | |
| 1969 | ||
| 1970 | end | |
| 1971 | end | |
| 1972 | end | |
| 1973 | end | |
| 1974 | end | |
| 1975 | end | |
| 1976 | end) | |
| 1977 | wait(0.5) | |
| 1978 | normalanim = true | |
| 1979 | hum.WalkSpeed = 13 | |
| 1980 | attackd = false | |
| 1981 | sp:Stop() | |
| 1982 | end | |
| 1983 | end | |
| 1984 | end | |
| 1985 | ||
| 1986 | if key == Enum.KeyCode.B then | |
| 1987 | if mode.Value == "murderer" then | |
| 1988 | mode.Value = "pm" | |
| 1989 | song = 900450645 | |
| 1990 | TextLabel.Text = "Psycho Murderer" | |
| 1991 | TextLabel.TextColor3 = Color3.new(255, 0, 0) | |
| 1992 | end | |
| 1993 | ||
| 1994 | if mode.Value == "gone" then | |
| 1995 | ||
| 1996 | move.Value = "true" | |
| 1997 | ||
| 1998 | end | |
| 1999 | if mode.Value == "normal" then | |
| 2000 | local bull4 = Instance.new("Part",char)
| |
| 2001 | bull4.Name = "Bullet" | |
| 2002 | bull4.BrickColor = BrickColor.new("Really black")
| |
| 2003 | bull4.Size = Vector3.new(2,2,2) | |
| 2004 | bull4.CanCollide = false | |
| 2005 | bull4.CFrame = char.Torso.CFrame | |
| 2006 | local me = Instance.new("SpecialMesh",bull4)
| |
| 2007 | me.MeshId = "rbxasset://fonts/timebomb.mesh" | |
| 2008 | me.TextureId = "rbxasset://textures/bombtex.png" | |
| 2009 | bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 2010 | wait(0.1) | |
| 2011 | bull4.CanCollide = true | |
| 2012 | bull4.Touched:Connect(function(hit) | |
| 2013 | if hit.Parent then | |
| 2014 | local character = hit.Parent | |
| 2015 | if not(character == char or hit.Name == "Bullet") then | |
| 2016 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2017 | hit.Parent = workspace | |
| 2018 | hit.Velocity = Vector3.new(0,50,0) | |
| 2019 | hit.CanCollide = true | |
| 2020 | hit.Anchored = false | |
| 2021 | end | |
| 2022 | end | |
| 2023 | end | |
| 2024 | end) | |
| 2025 | wait(4) | |
| 2026 | me:Destroy() | |
| 2027 | bull4.BrickColor = BrickColor.new("Alder")
| |
| 2028 | bull4.Anchored = true | |
| 2029 | bull4.Shape = "Ball" | |
| 2030 | bull4.Transparency = 0.5 | |
| 2031 | bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0) | |
| 2032 | bull4.Parent = workspace | |
| 2033 | for i = 1,360 do | |
| 2034 | game:GetService("RunService").Heartbeat:Wait()
| |
| 2035 | bull4.Size = bull4.Size + Vector3.new(0.1,0.1,0.1) | |
| 2036 | end | |
| 2037 | wait(0.2) | |
| 2038 | bull4.Anchored = false | |
| 2039 | bull4.CanCollide = false | |
| 2040 | wait(1) | |
| 2041 | bull4:Destroy() | |
| 2042 | end | |
| 2043 | end | |
| 2044 | ||
| 2045 | if key == Enum.KeyCode.F then | |
| 2046 | if mode.Value == "gone" then | |
| 2047 | attackd = true | |
| 2048 | normalanim = false | |
| 2049 | hum.WalkSpeed = 4 | |
| 2050 | sp:play() | |
| 2051 | wait(0.5) | |
| 2052 | mus:Play() | |
| 2053 | mus.TimePosition = 0.1 | |
| 2054 | local bull5 = Instance.new("Part",workspace)
| |
| 2055 | bull5.Shape = "Ball" | |
| 2056 | bull5.Name = "Bullet" | |
| 2057 | bull5.BrickColor = BrickColor.new("White")
| |
| 2058 | bull5.Size = Vector3.new(2,2,2) | |
| 2059 | bull5.Transparency = 0.5 | |
| 2060 | bull5.CanCollide = false | |
| 2061 | bull5.CFrame = char.Torso.CFrame | |
| 2062 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 2063 | bull5.Touched:Connect(function(hit) | |
| 2064 | if hit.Parent then | |
| 2065 | local character = hit.Parent | |
| 2066 | if not(character == char or hit.Name == "Bullet") then | |
| 2067 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2068 | local character = hit.Parent | |
| 2069 | local k = Instance.new("Model",char)
| |
| 2070 | for i,hit in pairs(character:GetChildren()) do | |
| 2071 | if hit.ClassName == "MeshPart" or hit.ClassName == "Part" then | |
| 2072 | if hit.Name == "LowerTorso" or hit.Name == "Torso" or hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" then | |
| 2073 | for i,f in pairs(hit:GetChildren()) do | |
| 2074 | f:Destroy() | |
| 2075 | end | |
| 2076 | local bdpos = Instance.new("BodyPosition",hit)
| |
| 2077 | bdpos.Position = hit.Position + Vector3.new(math.random(-5,5),math.random(1,5),math.random(-5,5)) | |
| 2078 | hit.Parent = k | |
| 2079 | hit.Name = "kill" | |
| 2080 | hit.Material = "Neon" | |
| 2081 | hit.BrickColor = BrickColor.new("White")
| |
| 2082 | hit.Anchored = false | |
| 2083 | hit.CanCollide = true | |
| 2084 | hit:BreakJoints() | |
| 2085 | hit.Transparency = 0.53 | |
| 2086 | end | |
| 2087 | end | |
| 2088 | end | |
| 2089 | wait(5) | |
| 2090 | k:Destroy() | |
| 2091 | end | |
| 2092 | end | |
| 2093 | end | |
| 2094 | end) | |
| 2095 | wait(0.5) | |
| 2096 | normalanim = true | |
| 2097 | hum.WalkSpeed = 13 | |
| 2098 | attackd = false | |
| 2099 | sp:Stop() | |
| 2100 | end | |
| 2101 | if mode.Value == "funnyguy" then | |
| 2102 | local bull4 = Instance.new("Part",char)
| |
| 2103 | bull4.Name = "Bullet" | |
| 2104 | bull4.BrickColor = BrickColor.new("Baby blue")
| |
| 2105 | bull4.Size = Vector3.new(2,2,2) | |
| 2106 | bull4.CanCollide = false | |
| 2107 | bull4.CFrame = char.Torso.CFrame | |
| 2108 | local me = Instance.new("SpecialMesh",bull4)
| |
| 2109 | me.MeshId = "rbxasset://fonts/timebomb.mesh" | |
| 2110 | me.TextureId = "" | |
| 2111 | bull4.Material = "Ice" | |
| 2112 | bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 2113 | wait(0.1) | |
| 2114 | bull4.CanCollide = true | |
| 2115 | bull4.Touched:Connect(function(hit) | |
| 2116 | if hit.Parent then | |
| 2117 | local character = hit.Parent | |
| 2118 | if not(character == char or hit.Name == "Bullet") then | |
| 2119 | if character:FindFirstChild("Billfr") == nil then
| |
| 2120 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2121 | local hum = character:FindFirstChildOfClass("Humanoid")
| |
| 2122 | if hum then | |
| 2123 | local b = Instance.new("ObjectValue",character)
| |
| 2124 | b.Name = "Bullfr" | |
| 2125 | for i,v in pairs(character:GetChildren()) do | |
| 2126 | if v.ClassName == "MeshPart" or v.ClassName == "Part" then | |
| 2127 | if not(v.Name == "Base" or v.Name == "Baseplate") then | |
| 2128 | v.Material = "Ice" | |
| 2129 | v.BrickColor = BrickColor.new("Baby blue")
| |
| 2130 | v.CanCollide = true | |
| 2131 | v.Parent = workspace | |
| 2132 | v:MakeJoints() | |
| 2133 | v.Anchored = false | |
| 2134 | end | |
| 2135 | end | |
| 2136 | hit.Anchored = false | |
| 2137 | local prev | |
| 2138 | local parts = character:GetChildren() | |
| 2139 | ||
| 2140 | for i = 1,#parts do | |
| 2141 | if (parts[i].className == "Part") then | |
| 2142 | if (prev ~= nil)then | |
| 2143 | local weld = Instance.new("Weld")
| |
| 2144 | weld.Part0 = prev | |
| 2145 | weld.Part1 = parts[i] | |
| 2146 | weld.C0 = prev.CFrame:inverse() | |
| 2147 | weld.C1 = parts[i].CFrame:inverse() | |
| 2148 | weld.Parent = prev | |
| 2149 | end | |
| 2150 | prev = parts[i] | |
| 2151 | end | |
| 2152 | end | |
| 2153 | ||
| 2154 | local prev2 | |
| 2155 | local parts2 = character:GetChildren() | |
| 2156 | ||
| 2157 | for i = 1,#parts2 do | |
| 2158 | if (parts2[i].className == "MeshPart") then | |
| 2159 | if (prev2 ~= nil)then | |
| 2160 | local weld = Instance.new("Weld")
| |
| 2161 | weld.Part0 = prev2 | |
| 2162 | weld.Part1 = parts2[i] | |
| 2163 | weld.C0 = prev2.CFrame:inverse() | |
| 2164 | weld.C1 = parts2[i].CFrame:inverse() | |
| 2165 | weld.Parent = prev2 | |
| 2166 | end | |
| 2167 | prev2 = parts2[i] | |
| 2168 | end | |
| 2169 | end | |
| 2170 | end | |
| 2171 | end | |
| 2172 | end | |
| 2173 | end | |
| 2174 | end | |
| 2175 | end | |
| 2176 | end) | |
| 2177 | wait(1.5) | |
| 2178 | me:Destroy() | |
| 2179 | bull4.BrickColor = BrickColor.new("Baby blue")
| |
| 2180 | bull4.Anchored = true | |
| 2181 | bull4.CanCollide = false | |
| 2182 | bull4.Shape = "Ball" | |
| 2183 | bull4.Transparency = 0.5 | |
| 2184 | bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0) | |
| 2185 | bull4.Parent = workspace | |
| 2186 | for i = 1,400 do | |
| 2187 | game:GetService("RunService").Heartbeat:Wait()
| |
| 2188 | bull4.Size = bull4.Size + Vector3.new(0.1,0.1,0.1) | |
| 2189 | end | |
| 2190 | wait(0.2) | |
| 2191 | bull4.Anchored = false | |
| 2192 | bull4.CanCollide = false | |
| 2193 | wait(1) | |
| 2194 | bull4:Destroy() | |
| 2195 | end | |
| 2196 | ||
| 2197 | ||
| 2198 | if mode.Value == "normal" then | |
| 2199 | local bull4 = Instance.new("Part",char)
| |
| 2200 | bull4.Name = "Bullet" | |
| 2201 | bull4.BrickColor = BrickColor.new("Really black")
| |
| 2202 | bull4.Size = Vector3.new(2,2,2) | |
| 2203 | bull4.CanCollide = false | |
| 2204 | bull4.CFrame = char.Torso.CFrame | |
| 2205 | local me = Instance.new("SpecialMesh",bull4)
| |
| 2206 | me.MeshId = "rbxasset://fonts/timebomb.mesh" | |
| 2207 | me.TextureId = "rbxasset://textures/bombtex.png" | |
| 2208 | bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 2209 | wait(0.1) | |
| 2210 | bull4.CanCollide = true | |
| 2211 | bull4.Touched:Connect(function(hit) | |
| 2212 | if hit.Parent then | |
| 2213 | local character = hit.Parent | |
| 2214 | if not(character == char or hit.Name == "Bullet") then | |
| 2215 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2216 | hit.Parent = workspace | |
| 2217 | hit.Velocity = Vector3.new(0,50,0) | |
| 2218 | hit.CanCollide = true | |
| 2219 | hit.Anchored = false | |
| 2220 | end | |
| 2221 | end | |
| 2222 | end | |
| 2223 | end) | |
| 2224 | wait(4) | |
| 2225 | me:Destroy() | |
| 2226 | bull4.BrickColor = BrickColor.new("Alder")
| |
| 2227 | bull4.Anchored = true | |
| 2228 | bull4.Shape = "Ball" | |
| 2229 | bull4.Transparency = 0.5 | |
| 2230 | bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0) | |
| 2231 | bull4.Parent = workspace | |
| 2232 | for i = 1,60 do | |
| 2233 | game:GetService("RunService").Heartbeat:Wait()
| |
| 2234 | bull4.Size = bull4.Size + Vector3.new(1,1,1) | |
| 2235 | end | |
| 2236 | wait(0.2) | |
| 2237 | bull4.Anchored = false | |
| 2238 | bull4.CanCollide = false | |
| 2239 | wait(1) | |
| 2240 | bull4:Destroy() | |
| 2241 | end | |
| 2242 | end | |
| 2243 | ||
| 2244 | if key == Enum.KeyCode.T then | |
| 2245 | if mode.Value == "normal" then | |
| 2246 | local bull6 = Instance.new("Part",char)
| |
| 2247 | bull6.Name = "Bullet" | |
| 2248 | bull6.BrickColor = BrickColor.new("Really black")
| |
| 2249 | bull6.Size = Vector3.new(4,4,4) | |
| 2250 | bull6.CanCollide = false | |
| 2251 | bull6.CFrame = char.Torso.CFrame | |
| 2252 | local me = Instance.new("SpecialMesh",bull6)
| |
| 2253 | me.MeshId = "rbxasset://fonts/timebomb.mesh" | |
| 2254 | me.TextureId = "rbxasset://textures/bombtex.png" | |
| 2255 | me.Scale = Vector3.new(2,2,2) | |
| 2256 | bull6.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 2257 | wait(0.1) | |
| 2258 | bull6.CanCollide = true | |
| 2259 | bull6.Touched:Connect(function(hit) | |
| 2260 | if hit.Parent then | |
| 2261 | local character = hit.Parent | |
| 2262 | if not(character == char or hit.Name == "Bullet") then | |
| 2263 | if not(hit.Name == "Bullet") then | |
| 2264 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2265 | hit.Parent = workspace | |
| 2266 | hit.Velocity = Vector3.new(0,50,0) | |
| 2267 | hit.CanCollide = true | |
| 2268 | hit.Anchored = false | |
| 2269 | end | |
| 2270 | end | |
| 2271 | end | |
| 2272 | end | |
| 2273 | end) | |
| 2274 | wait(4) | |
| 2275 | me:Destroy() | |
| 2276 | bull6.Parent = workspace | |
| 2277 | bull6.BrickColor = BrickColor.new("Alder")
| |
| 2278 | bull6.Anchored = true | |
| 2279 | bull6.Shape = "Ball" | |
| 2280 | bull6.Transparency = 0.5 | |
| 2281 | bull6.CFrame = bull6.CFrame - Vector3.new(0,1,0) | |
| 2282 | bull6.Parent = workspace | |
| 2283 | for i = 1,600 do | |
| 2284 | game:GetService("RunService").Heartbeat:Wait()
| |
| 2285 | bull6.Size = bull6.Size + Vector3.new(0.1,0.1,0.1) | |
| 2286 | end | |
| 2287 | wait(0.2) | |
| 2288 | bull6.Anchored = false | |
| 2289 | bull6.CanCollide = false | |
| 2290 | wait(1) | |
| 2291 | bull6:Destroy() | |
| 2292 | end | |
| 2293 | end | |
| 2294 | ||
| 2295 | ||
| 2296 | if key == Enum.KeyCode.V then | |
| 2297 | if mode.Value == "gone" then | |
| 2298 | ||
| 2299 | move.Value = "false" | |
| 2300 | ||
| 2301 | end | |
| 2302 | ||
| 2303 | if mode.Value == "funnyguy" then | |
| 2304 | local bull4 = Instance.new("Part",char)
| |
| 2305 | bull4.Name = "Bullet" | |
| 2306 | bull4.BrickColor = BrickColor.new("Magenta")
| |
| 2307 | bull4.Size = Vector3.new(2,2,2) | |
| 2308 | bull4.CanCollide = false | |
| 2309 | bull4.CFrame = char.Torso.CFrame | |
| 2310 | local me = Instance.new("SpecialMesh",bull4)
| |
| 2311 | me.MeshId = "rbxasset://fonts/timebomb.mesh" | |
| 2312 | bull4.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 2313 | wait(0.1) | |
| 2314 | bull4.CanCollide = true | |
| 2315 | bull4.Touched:Connect(function(hit) | |
| 2316 | if hit.Parent then | |
| 2317 | local character = hit.Parent | |
| 2318 | ||
| 2319 | if not(character == char or hit.Name == "Bullet") then | |
| 2320 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2321 | local human = character:FindFirstChildOfClass("Humanoid")
| |
| 2322 | if human then | |
| 2323 | if character:FindFirstChild("TRAP") == nil then
| |
| 2324 | local tr = Instance.new("ObjectValue",character)
| |
| 2325 | tr.Name = "TRAP" | |
| 2326 | for i,v in pairs(character:GetChildren()) do | |
| 2327 | if v.ClassName == "BodyColors" or v.ClassName == "Pants" or v.ClassName == "Shirt" or v.ClassName == "ShirtGraphic" or v.ClassName == "Hat" or v.ClassName == "Accessory" or v.ClassName == "CharacterMesh" then | |
| 2328 | v:Destroy() | |
| 2329 | end | |
| 2330 | end | |
| 2331 | local ps = math.random(1,6) | |
| 2332 | local p = Instance.new("Pants",character)
| |
| 2333 | p.Name = "Pants" | |
| 2334 | p.PantsTemplate = "" | |
| 2335 | local s = Instance.new("Shirt",character)
| |
| 2336 | s.Name = "Shirt" | |
| 2337 | ||
| 2338 | if ps == 1 then | |
| 2339 | p.PantsTemplate = "rbxassetid://56903591" | |
| 2340 | end | |
| 2341 | ||
| 2342 | if ps == 2 then | |
| 2343 | p.PantsTemplate = "rbxassetid://745334066" | |
| 2344 | s.ShirtTemplate = "rbxassetid://242933637" | |
| 2345 | end | |
| 2346 | ||
| 2347 | if ps == 3 then | |
| 2348 | p.PantsTemplate = "rbxassetid://1340645290" | |
| 2349 | s.ShirtTemplate = "rbxassetid://1238151974" | |
| 2350 | end | |
| 2351 | ||
| 2352 | if ps == 4 then | |
| 2353 | p.PantsTemplate = "rbxassetid://460147365" | |
| 2354 | s.ShirtTemplate = "rbxassetid://583471131" | |
| 2355 | end | |
| 2356 | ||
| 2357 | if ps == 5 then | |
| 2358 | p.PantsTemplate = "rbxassetid://45541243" | |
| 2359 | end | |
| 2360 | ||
| 2361 | if ps == 6 then | |
| 2362 | p.PantsTemplate = "rbxassetid://41162775" | |
| 2363 | end | |
| 2364 | ||
| 2365 | local bd = Instance.new("BodyColors",character)
| |
| 2366 | bd.Name = "Body Colors" | |
| 2367 | bd.HeadColor = BrickColor.new("Light orange")
| |
| 2368 | bd.TorsoColor = BrickColor.new("Light orange")
| |
| 2369 | bd.RightArmColor = BrickColor.new("Light orange")
| |
| 2370 | bd.LeftArmColor = BrickColor.new("Light orange")
| |
| 2371 | bd.RightLegColor = BrickColor.new("Light orange")
| |
| 2372 | bd.LeftLegColor = BrickColor.new("Light orange")
| |
| 2373 | ||
| 2374 | if not(character.Head == nil) then | |
| 2375 | for i,v in pairs(character.Head:GetChildren()) do | |
| 2376 | if v.ClassName == "Decal" then | |
| 2377 | v.Texture = "http://www.roblox.com/asset/?id=519735061" | |
| 2378 | end | |
| 2379 | end | |
| 2380 | local hair = Instance.new("Part",character)
| |
| 2381 | hair.CanCollide = false | |
| 2382 | hair.BottomSurface = Enum.SurfaceType.Smooth | |
| 2383 | hair.TopSurface = Enum.SurfaceType.Smooth | |
| 2384 | local num1 = math.random(0,255) | |
| 2385 | local num2 = math.random(0,255) | |
| 2386 | local num3 = math.random(0,255) | |
| 2387 | hair.Color = Color3.new(num1,num2,num3) | |
| 2388 | local hatr = math.random(1,7) | |
| 2389 | ||
| 2390 | if hatr == 1 then | |
| 2391 | print("1")
| |
| 2392 | hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
| 2393 | local hm = Instance.new("SpecialMesh",hair)
| |
| 2394 | hm.Scale = Vector3.new(0.075000003, 0.0599999987, 0.0599999987) | |
| 2395 | hm.MeshId = "rbxassetid://506240548" | |
| 2396 | hm.MeshType = Enum.MeshType.FileMesh | |
| 2397 | local w = Instance.new("ManualWeld",hair)
| |
| 2398 | w.Part0 = hair | |
| 2399 | w.Part1 = character.Head | |
| 2400 | w.C1 = CFrame.new(-7.62939453e-06, -1.19999862, 0.200000763, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 2401 | end | |
| 2402 | ||
| 2403 | if hatr == 2 then | |
| 2404 | print("2")
| |
| 2405 | hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
| 2406 | local hm = Instance.new("SpecialMesh",hair)
| |
| 2407 | hm.Scale = Vector3.new(0.0450000018, 0.0450000018, 0.0450000018) | |
| 2408 | hm.MeshId = "rbxassetid://487000462" | |
| 2409 | hm.MeshType = Enum.MeshType.FileMesh | |
| 2410 | local w = Instance.new("ManualWeld",hair)
| |
| 2411 | w.Part0 = hair | |
| 2412 | w.Part1 = character.Head | |
| 2413 | w.C1 = CFrame.new(-7.62939453e-06, -0.799998999, 0.599994659, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 2414 | end | |
| 2415 | ||
| 2416 | if hatr == 3 then | |
| 2417 | print("3")
| |
| 2418 | hair.Size = Vector3.new(0.5, 0.400000006, 0.400000006) | |
| 2419 | local hm = Instance.new("SpecialMesh",hair)
| |
| 2420 | hm.MeshId = "rbxassetid://164382853" | |
| 2421 | hm.MeshType = Enum.MeshType.FileMesh | |
| 2422 | local w = Instance.new("ManualWeld",hair)
| |
| 2423 | w.Part0 = hair | |
| 2424 | w.Part1 = character.Head | |
| 2425 | w.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 2426 | w.C1 = CFrame.new(-0.0500030518, -0.599999189, 0.100002289, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 2427 | end | |
| 2428 | ||
| 2429 | if hatr == 4 then | |
| 2430 | print("4")
| |
| 2431 | hair.Size = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
| 2432 | local hm = Instance.new("SpecialMesh",hair)
| |
| 2433 | hm.Scale = Vector3.new(0.109999999, 0.0799999982, 0.0850000009) | |
| 2434 | hm.MeshId = "rbxassetid://561963999" | |
| 2435 | hm.MeshType = Enum.MeshType.FileMesh | |
| 2436 | local w = Instance.new("ManualWeld",hair)
| |
| 2437 | w.Part0 = hair | |
| 2438 | w.Part1 = character.Head | |
| 2439 | w.C1 = CFrame.new(-1.52587891e-05, -1.69999814, 1.29998398, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 2440 | end | |
| 2441 | ||
| 2442 | if hatr == 5 then | |
| 2443 | print("5")
| |
| 2444 | hair.Size = Vector3.new(0.5, 0.400000006, 0.400000006) | |
| 2445 | local hm = Instance.new("SpecialMesh",hair)
| |
| 2446 | hm.MeshId = "rbxassetid://437152207" | |
| 2447 | hm.Scale = Vector3.new(0.0649999976, 0.0599999987, 0.0599999987) | |
| 2448 | hm.MeshType = Enum.MeshType.FileMesh | |
| 2449 | local w = Instance.new("ManualWeld",hair)
| |
| 2450 | w.Part0 = hair | |
| 2451 | w.Part1 = character.Head | |
| 2452 | w.C1 = CFrame.new(0.049987793, -1.19999862, 3.81469727e-06, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 2453 | end | |
| 2454 | ||
| 2455 | if hatr == 6 then | |
| 2456 | print("6")
| |
| 2457 | hair.Size = Vector3.new(2.16, 2.367, 1.642) | |
| 2458 | local hm = Instance.new("SpecialMesh",hair)
| |
| 2459 | hm.MeshId = "rbxassetid://527906256" | |
| 2460 | hm.MeshType = Enum.MeshType.FileMesh | |
| 2461 | hm.Scale = Vector3.new(0.07, 0.07, 0.07) | |
| 2462 | local w = Instance.new("ManualWeld",hair)
| |
| 2463 | w.Part0 = hair | |
| 2464 | w.Part1 = character.Head | |
| 2465 | w.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2466 | w.C1 = CFrame.new(0, 0, 0, -0.984807849, 0, 0.173648313, 0, 1, 0, -0.173648313, 0, -0.984807849) | |
| 2467 | end | |
| 2468 | ||
| 2469 | if hatr == 7 then | |
| 2470 | print("7")
| |
| 2471 | hair.Size = Vector3.new(1.6, 1.08, 1.49) | |
| 2472 | local hm = Instance.new("SpecialMesh",hair)
| |
| 2473 | hm.MeshId = "rbxassetid://1164734026" | |
| 2474 | hm.MeshType = Enum.MeshType.FileMesh | |
| 2475 | hm.Scale = Vector3.new(1.3, 1.4, 1.3) | |
| 2476 | local w = Instance.new("ManualWeld",hair)
| |
| 2477 | w.Part0 = hair | |
| 2478 | w.Part1 = character.Head | |
| 2479 | w.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2480 | w.C1 = CFrame.new(0, -1.4000001, 0, 0.98480773, 0, 0.173648134, 0, 1, 0, -0.173648134, 0, 0.98480773) | |
| 2481 | end | |
| 2482 | ||
| 2483 | end | |
| 2484 | end | |
| 2485 | end | |
| 2486 | end | |
| 2487 | end | |
| 2488 | end | |
| 2489 | end) | |
| 2490 | wait(4) | |
| 2491 | me:Destroy() | |
| 2492 | bull4.BrickColor = BrickColor.new("Hot pink")
| |
| 2493 | bull4.Anchored = true | |
| 2494 | bull4.CanCollide = false | |
| 2495 | bull4.Shape = "Ball" | |
| 2496 | bull4.Transparency = 0.5 | |
| 2497 | bull4.CFrame = bull4.CFrame - Vector3.new(0,1,0) | |
| 2498 | bull4.Parent = workspace | |
| 2499 | for i = 1,360 do | |
| 2500 | game:GetService("RunService").Heartbeat:Wait()
| |
| 2501 | bull4.Size = bull4.Size + Vector3.new(0.2,0.2,0.2) | |
| 2502 | end | |
| 2503 | wait(0.2) | |
| 2504 | bull4.Anchored = false | |
| 2505 | bull4.CanCollide = false | |
| 2506 | wait(1) | |
| 2507 | bull4:Destroy() | |
| 2508 | end | |
| 2509 | ||
| 2510 | if mode.Value == "murderer" then | |
| 2511 | if attackd == false then | |
| 2512 | attackd = true | |
| 2513 | normalanim = false | |
| 2514 | hum.WalkSpeed = 4 | |
| 2515 | sp:play() | |
| 2516 | wait(0.5) | |
| 2517 | mus:Play() | |
| 2518 | mus.TimePosition = 0.1 | |
| 2519 | local bull = Instance.new("Part",char)
| |
| 2520 | bull.Name = "Bullet" | |
| 2521 | bull.BrickColor = BrickColor.new("Baby blue")
| |
| 2522 | bull.Size = Vector3.new(0.4, 3, 0.8) | |
| 2523 | bull.CanCollide = false | |
| 2524 | local m = Instance.new("SpecialMesh",bull)
| |
| 2525 | bull.Material = "Ice" | |
| 2526 | bull.BrickColor = BrickColor.new("White")
| |
| 2527 | bull.CFrame = char.Torso.CFrame | |
| 2528 | bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 2529 | bull.Touched:Connect(function(hit) | |
| 2530 | if hit.Parent then | |
| 2531 | local character = hit.Parent | |
| 2532 | if not(character == char or hit.Name == "Bullet") then | |
| 2533 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2534 | if hit.Name == "LowerTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "LowerTorso" or hit.Name == "UpperTorso" and not(hit.Name == "s") then | |
| 2535 | bull:Destroy() | |
| 2536 | hit.Parent = workspace | |
| 2537 | hit.Name = "s" | |
| 2538 | hit:MakeJoints() | |
| 2539 | hit.Anchored = false | |
| 2540 | hit.CanCollide = true | |
| 2541 | hit.Material = "Ice" | |
| 2542 | hit.BrickColor = BrickColor.new("Baby blue")
| |
| 2543 | local kn = Instance.new("Part",character)
| |
| 2544 | kn.Name = "Bullet" | |
| 2545 | kn.Size = Vector3.new(0.4, 3, 0.8) | |
| 2546 | local w = Instance.new("Weld",kn)
| |
| 2547 | w.Part0 = kn | |
| 2548 | kn.BrickColor = BrickColor.new("Baby blue")
| |
| 2549 | kn.Material = "Ice" | |
| 2550 | local m = Instance.new("SpecialMesh",kn)
| |
| 2551 | m.MeshId = "http://www.roblox.com/asset/?id=121944778" | |
| 2552 | w.Part1 = hit | |
| 2553 | w.C0 = CFrame.new(0, 1.20000005, 0, 1, 0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08) | |
| 2554 | end | |
| 2555 | end | |
| 2556 | end | |
| 2557 | end | |
| 2558 | end) | |
| 2559 | wait(0.5) | |
| 2560 | normalanim = true | |
| 2561 | hum.WalkSpeed = 13 | |
| 2562 | attackd = false | |
| 2563 | sp:Stop() | |
| 2564 | end | |
| 2565 | end | |
| 2566 | ||
| 2567 | if attackd == false then | |
| 2568 | if mode.Value == "normal" then | |
| 2569 | attackd = true | |
| 2570 | normalanim = false | |
| 2571 | hum.WalkSpeed = 4 | |
| 2572 | sp:play() | |
| 2573 | wait(0.5) | |
| 2574 | mus:Play() | |
| 2575 | mus.TimePosition = 0.1 | |
| 2576 | local bull = Instance.new("Part",char)
| |
| 2577 | bull.Shape = "Ball" | |
| 2578 | bull.Name = "Bullet" | |
| 2579 | bull.BrickColor = BrickColor.new("Really black")
| |
| 2580 | bull.Size = Vector3.new(1,1,1) | |
| 2581 | bull.CanCollide = false | |
| 2582 | bull.CFrame = char.Torso.CFrame | |
| 2583 | bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 1000 | |
| 2584 | bull.Touched:Connect(function(hit) | |
| 2585 | if hit.Parent then | |
| 2586 | local character = hit.Parent | |
| 2587 | if not(character == char or hit.Name == "Bullet") then | |
| 2588 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2589 | hit.Size = hit.Size - Vector3.new(0.2,0.2,0.2) | |
| 2590 | hit.Parent = workspace | |
| 2591 | end | |
| 2592 | end | |
| 2593 | end | |
| 2594 | end) | |
| 2595 | wait(0.5) | |
| 2596 | normalanim = true | |
| 2597 | hum.WalkSpeed = 13 | |
| 2598 | attackd = false | |
| 2599 | sp:Stop() | |
| 2600 | end | |
| 2601 | end | |
| 2602 | end | |
| 2603 | ||
| 2604 | if key == Enum.KeyCode.X then | |
| 2605 | ||
| 2606 | if mode.Value == "pm" then | |
| 2607 | if attackd == false then | |
| 2608 | attackd = true | |
| 2609 | normalanim = false | |
| 2610 | wait(0.1) | |
| 2611 | RS.C0 = RS.C0:Lerp(RSnor, 0.15) | |
| 2612 | LS.C0 = LS.C0:Lerp(LSnor, 0.15) | |
| 2613 | RS.C1 = RS.C1:Lerp(RSnor2, 0.15) | |
| 2614 | LS.C1 = LS.C1:Lerp(LSnor2, 0.15) | |
| 2615 | hum.WalkSpeed = 4 | |
| 2616 | sp:play() | |
| 2617 | wait(0.5) | |
| 2618 | mus:Play() | |
| 2619 | local bull = Instance.new("Part",char)
| |
| 2620 | bull.Name = "Bullet" | |
| 2621 | bull.BrickColor = BrickColor.new("Really red")
| |
| 2622 | bull.Size = Vector3.new(1.4, 3, 0.4) | |
| 2623 | bull.CanCollide = false | |
| 2624 | local m = Instance.new("SpecialMesh",bull)
| |
| 2625 | m.MeshId = "http://www.roblox.com/asset?id=145815658" | |
| 2626 | m.Scale = Vector3.new(1, 0.5, 0.5) | |
| 2627 | bull.CFrame = char.Torso.CFrame | |
| 2628 | bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 2629 | bull.Touched:Connect(function(hit) | |
| 2630 | if hit.Parent then | |
| 2631 | local character = hit.Parent | |
| 2632 | if not(character == char or hit.Name == "Bullet") then | |
| 2633 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2634 | if hit.Name == "LowerTorso" or hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "UpperTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" and not(hit.Name == "s") then | |
| 2635 | bull:Destroy() | |
| 2636 | hit.Parent = workspace | |
| 2637 | hit.Name = "s" | |
| 2638 | hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 2639 | hit.CanCollide = true | |
| 2640 | local kn = Instance.new("Part",character)
| |
| 2641 | kn.Name = "Bullet" | |
| 2642 | kn.Size = Vector3.new(0.4, 2, 0.4) | |
| 2643 | kn.BrickColor = BrickColor.new("Really red")
| |
| 2644 | local w = Instance.new("Weld",kn)
| |
| 2645 | w.Part0 = kn | |
| 2646 | local m = Instance.new("SpecialMesh",kn)
| |
| 2647 | m.MeshId = "http://www.roblox.com/asset?id=145815658" | |
| 2648 | m.Scale = Vector3.new(1, 0.5, 0.5) | |
| 2649 | w.Part1 = hit | |
| 2650 | w.C1 = CFrame.new(0, -0.800000012, 1, 1, 0, 0, 0, 0.866025329, 0.500000179, 0, -0.500000179, 0.866025329) | |
| 2651 | hit:MakeJoints() | |
| 2652 | end | |
| 2653 | end | |
| 2654 | end | |
| 2655 | end | |
| 2656 | end) | |
| 2657 | wait(0.5) | |
| 2658 | normalanim = true | |
| 2659 | hum.WalkSpeed = 13 | |
| 2660 | attackd = false | |
| 2661 | sp:Stop() | |
| 2662 | end | |
| 2663 | end | |
| 2664 | ||
| 2665 | if attackd == false then | |
| 2666 | if mode.Value == "radio" then | |
| 2667 | attackd = true | |
| 2668 | normalanim = false | |
| 2669 | hum.WalkSpeed = 4 | |
| 2670 | sp:play() | |
| 2671 | wait(0.5) | |
| 2672 | mus:Play() | |
| 2673 | mus.TimePosition = 0.1 | |
| 2674 | local bull5 = Instance.new("Part",workspace)
| |
| 2675 | bull5.Shape = "Ball" | |
| 2676 | bull5.Name = "Bullet" | |
| 2677 | bull5.BrickColor = BrickColor.new("Really blue")
| |
| 2678 | bull5.Size = Vector3.new(2,2,2) | |
| 2679 | bull5.Transparency = 0.5 | |
| 2680 | bull5.CanCollide = false | |
| 2681 | bull5.CFrame = char.Torso.CFrame | |
| 2682 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 2683 | bull5.Touched:Connect(function(hit) | |
| 2684 | if hit.Parent then | |
| 2685 | local character = hit.Parent | |
| 2686 | if not(character == char or hit.Name == "Bullet") then | |
| 2687 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2688 | ||
| 2689 | ||
| 2690 | ||
| 2691 | for i = 1,20 do | |
| 2692 | game:GetService("RunService").Heartbeat:Wait()
| |
| 2693 | hit.CFrame = hit.CFrame + Vector3.new(math.random(-1,1), math.random(0.1,0.5), math.random(-1,1)) | |
| 2694 | end | |
| 2695 | ||
| 2696 | ||
| 2697 | end | |
| 2698 | end | |
| 2699 | end | |
| 2700 | end) | |
| 2701 | wait(0.5) | |
| 2702 | normalanim = true | |
| 2703 | hum.WalkSpeed = 13 | |
| 2704 | attackd = false | |
| 2705 | sp:Stop() | |
| 2706 | end | |
| 2707 | end | |
| 2708 | ||
| 2709 | ||
| 2710 | if attackd == false then | |
| 2711 | if mode.Value == "gone" then | |
| 2712 | attackd = true | |
| 2713 | normalanim = false | |
| 2714 | hum.WalkSpeed = 4 | |
| 2715 | sp:play() | |
| 2716 | wait(0.5) | |
| 2717 | mus:Play() | |
| 2718 | mus.TimePosition = 0.1 | |
| 2719 | local bull5 = Instance.new("Part",workspace)
| |
| 2720 | bull5.Shape = "Ball" | |
| 2721 | bull5.Name = "Bullet" | |
| 2722 | bull5.BrickColor = BrickColor.new("Really black")
| |
| 2723 | bull5.Size = Vector3.new(2,2,2) | |
| 2724 | bull5.Transparency = 0.5 | |
| 2725 | bull5.CanCollide = false | |
| 2726 | bull5.CFrame = char.Torso.CFrame | |
| 2727 | bull5.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 600 | |
| 2728 | bull5.Touched:Connect(function(hit) | |
| 2729 | if hit.Parent then | |
| 2730 | local character = hit.Parent | |
| 2731 | if not(character == char or hit.Name == "Bullet") then | |
| 2732 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2733 | if not(hit == bull5) then | |
| 2734 | if not(hit.Parent == workspace) then | |
| 2735 | hit.CanCollide = false | |
| 2736 | hit.Parent = workspace | |
| 2737 | hit.BrickColor = BrickColor.new("Really black")
| |
| 2738 | hit.Anchored = true | |
| 2739 | hit.Transparency = 0.8 | |
| 2740 | hit.Size = hit.Size + Vector3.new(0.1,0.1,0.1) | |
| 2741 | ||
| 2742 | for i,v in pairs(character:GetChildren()) do | |
| 2743 | if not(v.Parent == workspace) then | |
| 2744 | if not(character:FindFirstChild("Head") == nil) then
| |
| 2745 | local BillboardGui = Instance.new("BillboardGui")
| |
| 2746 | local TextLabel = Instance.new("TextLabel")
| |
| 2747 | ||
| 2748 | BillboardGui.Name = "tag" | |
| 2749 | BillboardGui.Parent = character.Head | |
| 2750 | BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling | |
| 2751 | BillboardGui.AlwaysOnTop = true | |
| 2752 | BillboardGui.ExtentsOffset = Vector3.new(0, 3, 0) | |
| 2753 | BillboardGui.LightInfluence = 1 | |
| 2754 | BillboardGui.Size = UDim2.new(0, 200, 0, 50) | |
| 2755 | ||
| 2756 | TextLabel.Parent = BillboardGui | |
| 2757 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 2758 | TextLabel.BackgroundTransparency = 1 | |
| 2759 | TextLabel.Size = UDim2.new(0, 200, 0, 50) | |
| 2760 | TextLabel.Font = Enum.Font.SourceSans | |
| 2761 | TextLabel.Text = "Forgotten" | |
| 2762 | TextLabel.TextColor3 = Color3.new(0, 0, 0) | |
| 2763 | TextLabel.TextScaled = true | |
| 2764 | TextLabel.TextSize = 14 | |
| 2765 | TextLabel.TextWrapped = true | |
| 2766 | end | |
| 2767 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 2768 | v.CanCollide = false | |
| 2769 | v.Size = v.Size + Vector3.new(0.1,0.1,0.1) | |
| 2770 | v.Parent = workspace | |
| 2771 | v.BrickColor = BrickColor.new("Really black")
| |
| 2772 | v.Anchored = true | |
| 2773 | v.Transparency = 0.8 | |
| 2774 | end | |
| 2775 | end | |
| 2776 | end | |
| 2777 | end | |
| 2778 | end | |
| 2779 | end | |
| 2780 | end | |
| 2781 | end | |
| 2782 | end) | |
| 2783 | wait(0.5) | |
| 2784 | normalanim = true | |
| 2785 | hum.WalkSpeed = 13 | |
| 2786 | attackd = false | |
| 2787 | sp:Stop() | |
| 2788 | end | |
| 2789 | end | |
| 2790 | ||
| 2791 | if attackd == false then | |
| 2792 | if mode.Value == "funnyguy" then | |
| 2793 | attackd = true | |
| 2794 | normalanim = false | |
| 2795 | hum.WalkSpeed = 4 | |
| 2796 | sp:play() | |
| 2797 | wait(0.5) | |
| 2798 | mus:Play() | |
| 2799 | mus.TimePosition = 0.1 | |
| 2800 | local bull = Instance.new("Part",char)
| |
| 2801 | bull.Shape = "Ball" | |
| 2802 | bull.Name = "Bullet" | |
| 2803 | bull.BrickColor = BrickColor.new("Really black")
| |
| 2804 | bull.Size = Vector3.new(1.5,1.5,1.5) | |
| 2805 | bull.CanCollide = false | |
| 2806 | bull.CFrame = char.Torso.CFrame | |
| 2807 | bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 2808 | bull.Touched:Connect(function(hit) | |
| 2809 | if hit.Parent then | |
| 2810 | local character = hit.Parent | |
| 2811 | if not(character == char or hit.Name == "Bullet") then | |
| 2812 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2813 | ||
| 2814 | for i,v in pairs(character:GetChildren()) do | |
| 2815 | if v.ClassName == "MeshPart" then | |
| 2816 | v.TextureID = "" | |
| 2817 | end | |
| 2818 | if v.ClassName == "UnionOperation" or v.ClassName == "MeshPart" or v.ClassName == "Part" then | |
| 2819 | for i,n in pairs(v:GetChildren()) do | |
| 2820 | if n.ClassName == "SpecialMesh" then | |
| 2821 | n.TextureId = "" | |
| 2822 | end | |
| 2823 | end | |
| 2824 | if not(v.Name == "Base" or v.Name == "Baseplate") then | |
| 2825 | local num1 = math.random(1,255) | |
| 2826 | local num2 = math.random(1,255) | |
| 2827 | local num2 = math.random(1,255) | |
| 2828 | v.Material = "Plastic" | |
| 2829 | v.Color = Color3.new(num1,num2,num3) | |
| 2830 | end | |
| 2831 | end | |
| 2832 | if v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "CharacterMesh" then | |
| 2833 | v:Destroy() | |
| 2834 | end | |
| 2835 | end | |
| 2836 | end | |
| 2837 | end | |
| 2838 | end | |
| 2839 | end) | |
| 2840 | wait(0.5) | |
| 2841 | normalanim = true | |
| 2842 | hum.WalkSpeed = 13 | |
| 2843 | attackd = false | |
| 2844 | sp:Stop() | |
| 2845 | end | |
| 2846 | end | |
| 2847 | ||
| 2848 | if mode.Value == "insane" then | |
| 2849 | local bull7 = Instance.new("Part",char)
| |
| 2850 | bull7.Name = "Bullet" | |
| 2851 | bull7.BrickColor = BrickColor.new("Really black")
| |
| 2852 | bull7.Size = Vector3.new(2,2,2) | |
| 2853 | bull7.CanCollide = false | |
| 2854 | bull7.CFrame = char.Torso.CFrame | |
| 2855 | local me = Instance.new("SpecialMesh",bull4)
| |
| 2856 | me.MeshId = "rbxasset://fonts/timebomb.mesh" | |
| 2857 | me.TextureId = "rbxasset://textures/bombtex.png" | |
| 2858 | bull7.Velocity = Vector3.new(0,50,0) + char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 2859 | wait(0.1) | |
| 2860 | bull7.CanCollide = true | |
| 2861 | bull7.Touched:Connect(function(hit) | |
| 2862 | if hit.Parent then | |
| 2863 | local character = hit.Parent | |
| 2864 | if not(character == char or hit.Name == "Bullet") then | |
| 2865 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2866 | hit.Parent = workspace | |
| 2867 | local num1 = math.random(-100,100) | |
| 2868 | local num2 = math.random(-1,100) | |
| 2869 | local num3 = math.random(-100,100) | |
| 2870 | local num4 = math.random(0.1,2) | |
| 2871 | local num5 = math.random(0.1,2) | |
| 2872 | local num6 = math.random(0.1,2) | |
| 2873 | hit:BreakJoints() | |
| 2874 | hit.Anchored = false | |
| 2875 | hit.CanCollide = true | |
| 2876 | hit.Transparency = 0 | |
| 2877 | hit.Material = "Neon" | |
| 2878 | hit.BrickColor = BrickColor.new("White")
| |
| 2879 | hit.Size = Vector3.new(num4, num5, num6) | |
| 2880 | hit.Velocity = Vector3.new(num1, num2, num3) | |
| 2881 | end | |
| 2882 | end | |
| 2883 | end | |
| 2884 | end) | |
| 2885 | wait(2) | |
| 2886 | me:Destroy() | |
| 2887 | bull7.BrickColor = BrickColor.new("White")
| |
| 2888 | bull7.Material = "Neon" | |
| 2889 | bull7.Anchored = true | |
| 2890 | bull7.CanCollide = false | |
| 2891 | bull7.Shape = "Ball" | |
| 2892 | bull7.Transparency = 0 | |
| 2893 | bull7.CFrame = bull7.CFrame - Vector3.new(0,1,0) | |
| 2894 | bull7.Parent = workspace | |
| 2895 | for i = 1,360 do | |
| 2896 | game:GetService("RunService").Heartbeat:Wait()
| |
| 2897 | bull7.Size = bull7.Size + Vector3.new(0.3,0.3,0.3) | |
| 2898 | end | |
| 2899 | wait(0.2) | |
| 2900 | bull7.Anchored = false | |
| 2901 | bull7.CanCollide = false | |
| 2902 | wait(1) | |
| 2903 | bull7:Destroy() | |
| 2904 | end | |
| 2905 | if mode.Value == "murderer" then | |
| 2906 | if attackd == false then | |
| 2907 | attackd = true | |
| 2908 | normalanim = false | |
| 2909 | hum.WalkSpeed = 4 | |
| 2910 | sp:play() | |
| 2911 | wait(0.5) | |
| 2912 | mus:Play() | |
| 2913 | mus.TimePosition = 0.1 | |
| 2914 | local bull = Instance.new("Part",char)
| |
| 2915 | bull.Name = "Bullet" | |
| 2916 | bull.BrickColor = BrickColor.new("Really red")
| |
| 2917 | bull.Size = Vector3.new(0.4, 3, 0.8) | |
| 2918 | bull.CanCollide = false | |
| 2919 | local m = Instance.new("SpecialMesh",bull)
| |
| 2920 | m.MeshId = "http://www.roblox.com/asset/?id=121944778" | |
| 2921 | bull.CFrame = char.Torso.CFrame | |
| 2922 | bull.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 500 | |
| 2923 | bull.Touched:Connect(function(hit) | |
| 2924 | if hit.Parent then | |
| 2925 | local character = hit.Parent | |
| 2926 | if not(character == char or hit.Name == "Bullet") then | |
| 2927 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2928 | if hit.Name == "LowerTorso" or hit.Name == "Right Arm" or hit.Name == "Left Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" or hit.Name == "LeftHand" or hit.Name == "LeftLowerArm" or hit.Name == "LeftUpperArm" or hit.Name == "RightHand" or hit.Name == "RightUpperArm" or hit.Name == "RightLowerArm" or hit.Name == "LeftUpperLeg" or hit.Name == "LeftLowerLeg" or hit.Name == "LeftFoot" or hit.Name == "RightFoot" or hit.Name == "RightUpperLeg" or hit.Name == "RightLowerLeg" or hit.Name == "Head" or hit.Name == "UpperTorso" and not(hit.Name == "s") then | |
| 2929 | bull:Destroy() | |
| 2930 | hit.Parent = workspace | |
| 2931 | hit.Name = "s" | |
| 2932 | hit.Velocity = char.HumanoidRootPart.CFrame.LookVector * 40 | |
| 2933 | hit.CanCollide = true | |
| 2934 | local kn = Instance.new("Part",character)
| |
| 2935 | kn.Name = "Bullet" | |
| 2936 | kn.Size = Vector3.new(0.4, 3, 0.8) | |
| 2937 | local w = Instance.new("Weld",kn)
| |
| 2938 | w.Part0 = kn | |
| 2939 | kn.BrickColor = BrickColor.new("Really red")
| |
| 2940 | local m = Instance.new("SpecialMesh",kn)
| |
| 2941 | m.MeshId = "http://www.roblox.com/asset/?id=121944778" | |
| 2942 | w.Part1 = hit | |
| 2943 | w.C0 = CFrame.new(0, 1.20000005, 0, 1, 0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08) | |
| 2944 | hit:MakeJoints() | |
| 2945 | end | |
| 2946 | end | |
| 2947 | end | |
| 2948 | end | |
| 2949 | end) | |
| 2950 | wait(0.5) | |
| 2951 | normalanim = true | |
| 2952 | hum.WalkSpeed = 13 | |
| 2953 | attackd = false | |
| 2954 | sp:Stop() | |
| 2955 | end | |
| 2956 | end | |
| 2957 | if attackd == false then | |
| 2958 | if mode.Value == "normal" then | |
| 2959 | attackd = true | |
| 2960 | normalanim = false | |
| 2961 | hum.WalkSpeed = 4 | |
| 2962 | sp:play() | |
| 2963 | wait(0.5) | |
| 2964 | mus:Play() | |
| 2965 | mus.TimePosition = 0.1 | |
| 2966 | local bull2 = Instance.new("Part",char)
| |
| 2967 | bull2.Shape = "Ball" | |
| 2968 | bull2.Name = "Bullet" | |
| 2969 | bull2.BrickColor = BrickColor.new("Really red")
| |
| 2970 | bull2.Size = Vector3.new(3,3,3) | |
| 2971 | bull2.CanCollide = false | |
| 2972 | bull2.CFrame = char.Torso.CFrame | |
| 2973 | bull2.Velocity = Vector3.new(0,15,0) + char.HumanoidRootPart.CFrame.LookVector * 300 | |
| 2974 | bull2.Touched:Connect(function(hit) | |
| 2975 | if hit.Parent then | |
| 2976 | local character = hit.Parent | |
| 2977 | if not(character == char or hit.Name == "Bullet") then | |
| 2978 | if not(hit.Name == "Base" or hit.Name == "Baseplate") then | |
| 2979 | ||
| 2980 | hit:Destroy() | |
| 2981 | end | |
| 2982 | end | |
| 2983 | end | |
| 2984 | end) | |
| 2985 | wait(0.5) | |
| 2986 | normalanim = true | |
| 2987 | hum.WalkSpeed = 13 | |
| 2988 | attackd = false | |
| 2989 | sp:Stop() | |
| 2990 | end | |
| 2991 | end | |
| 2992 | end | |
| 2993 | end | |
| 2994 | ||
| 2995 | end) | |
| 2996 | ||
| 2997 | local timepos3 = 0 | |
| 2998 | ||
| 2999 | local sss = false | |
| 3000 | ||
| 3001 | --------------------------------- | |
| 3002 | -----------Wrapping up----------- | |
| 3003 | --------------------------------- | |
| 3004 | ||
| 3005 | while game:GetService("RunService").Heartbeat:Wait() do
| |
| 3006 | if normalanim then | |
| 3007 | sine = sine + 1 | |
| 3008 | end | |
| 3009 | ||
| 3010 | if not(mode.Value == "ftd" or mode.Value == "radio") and sss == false then | |
| 3011 | p.BrickColor = BrickColor.new("Really black")
| |
| 3012 | a.BrickColor = BrickColor.new("Really red")
| |
| 3013 | a.Size = Vector3.new(0.2, 1, 1) | |
| 3014 | end | |
| 3015 | ||
| 3016 | if not(transforming == true) then | |
| 3017 | remote:FireClient(plr) | |
| 3018 | end | |
| 3019 | hum.Health = 9999999999999999 | |
| 3020 | ||
| 3021 | for i,v in pairs(char:GetChildren()) do | |
| 3022 | if v.ClassName == "Part" or v.ClassName == "MeshPart" then | |
| 3023 | if not(v.Name == "Bullet") then | |
| 3024 | if sss == false then | |
| 3025 | v.Anchored = false | |
| 3026 | end | |
| 3027 | end | |
| 3028 | end | |
| 3029 | end | |
| 3030 | ||
| 3031 | if move.Value == "true" then | |
| 3032 | for i,v in pairs(char:GetChildren()) do | |
| 3033 | if v.Name == "Minion" then | |
| 3034 | s = v | |
| 3035 | local larm = s:FindFirstChild("Left Arm")
| |
| 3036 | local rarm = s:FindFirstChild("Right Arm")
| |
| 3037 | ||
| 3038 | function findNearestTorso(pos) | |
| 3039 | local list = game.Workspace:children() | |
| 3040 | local torso = nil | |
| 3041 | local dist = 100000000000000000000000000000000000000000 | |
| 3042 | local temp = nil | |
| 3043 | local human = nil | |
| 3044 | local temp2 = nil | |
| 3045 | for x = 1, #list do | |
| 3046 | temp2 = list[x] | |
| 3047 | if (temp2.className == "Model") and (temp2 ~= s) and (temp2 ~= char) then | |
| 3048 | temp = temp2:FindFirstChild("Head")
| |
| 3049 | h = temp2:FindFirstChildOfClass("Humanoid")
| |
| 3050 | if (temp ~= nil) and (h ~= nil) and (h.Health > 0) then | |
| 3051 | s.minion.WalkSpeed = 15 | |
| 3052 | if (temp.Position - pos).magnitude < dist then | |
| 3053 | torso = temp | |
| 3054 | dist = (temp.Position - pos).magnitude | |
| 3055 | end | |
| 3056 | end | |
| 3057 | end | |
| 3058 | end | |
| 3059 | return torso | |
| 3060 | end | |
| 3061 | ||
| 3062 | local antibug = s:FindFirstChild("Torso")
| |
| 3063 | if antibug ~= nil then | |
| 3064 | local antibug2 = s:FindFirstChild("minion")
| |
| 3065 | if antibug2 ~= nil then | |
| 3066 | local target = findNearestTorso(antibug.Position) | |
| 3067 | if target ~= nil then | |
| 3068 | s.minion:MoveTo(target.Position, target) | |
| 3069 | s.minion.WalkSpeed = 15 | |
| 3070 | end | |
| 3071 | end | |
| 3072 | end | |
| 3073 | ||
| 3074 | if not(v:FindFirstChild("Torso") == nil) then
| |
| 3075 | if move.Value == "true" then | |
| 3076 | function onTouched(fire) | |
| 3077 | local humn = fire.Parent:FindFirstChildOfClass("Humanoid")
| |
| 3078 | if humn then | |
| 3079 | if not(humn.Name == "minion") then | |
| 3080 | local par = humn.Parent | |
| 3081 | if not(par == char) then | |
| 3082 | for i,s in pairs (humn.Parent:GetChildren()) do | |
| 3083 | if s.ClassName == "Part" then | |
| 3084 | for i,n in pairs(par:GetChildren()) do | |
| 3085 | if n.ClassName == "Part" or n.ClassName == "MeshPart" then | |
| 3086 | n.Anchored = true | |
| 3087 | n.BrickColor = BrickColor.new("Really black")
| |
| 3088 | n.Transparency = 0.8 | |
| 3089 | n.Parent = workspace | |
| 3090 | n.CanCollide = false | |
| 3091 | end | |
| 3092 | end | |
| 3093 | end | |
| 3094 | end | |
| 3095 | end | |
| 3096 | end | |
| 3097 | end | |
| 3098 | end | |
| 3099 | end | |
| 3100 | v.Torso.Touched:connect(onTouched) | |
| 3101 | end | |
| 3102 | end | |
| 3103 | end | |
| 3104 | end | |
| 3105 | ||
| 3106 | if mode.Value == "radio" then | |
| 3107 | if sss == false then | |
| 3108 | local can = math.random(1,100) | |
| 3109 | ||
| 3110 | if can == 20 then | |
| 3111 | ||
| 3112 | local mesh = Instance.new("BlockMesh",char.Head)
| |
| 3113 | local mesh2 = Instance.new("BlockMesh",char.Torso)
| |
| 3114 | local mesh3 = Instance.new("BlockMesh",char["Left Arm"])
| |
| 3115 | local mesh4 = Instance.new("BlockMesh",char["Right Arm"])
| |
| 3116 | local mesh5 = Instance.new("BlockMesh",char["Left Leg"])
| |
| 3117 | local mesh6 = Instance.new("BlockMesh",char["Right Leg"])
| |
| 3118 | ||
| 3119 | for i,v in pairs(char:GetChildren()) do | |
| 3120 | if v.ClassName == "Part" then | |
| 3121 | v.Material = "Neon" | |
| 3122 | end | |
| 3123 | end | |
| 3124 | ||
| 3125 | for i = 1,10 do | |
| 3126 | wait(0.0001) | |
| 3127 | local num1 = math.random(-1,1) | |
| 3128 | local num2 = math.random(-1,1) | |
| 3129 | local num3 = math.random(-1,1) | |
| 3130 | ||
| 3131 | local num4 = math.random(-1,1) | |
| 3132 | local num5 = math.random(-1,1) | |
| 3133 | local num6 = math.random(-1,1) | |
| 3134 | ||
| 3135 | mesh.Offset = mesh.Offset + Vector3.new(num1,num2,num3) | |
| 3136 | mesh2.Offset = mesh2.Offset + Vector3.new(num4,num5,num6) | |
| 3137 | mesh3.Offset = mesh.Offset + Vector3.new(num1,num2,num3) | |
| 3138 | mesh4.Offset = mesh2.Offset + Vector3.new(num4,num5,num6) | |
| 3139 | mesh5.Offset = mesh.Offset + Vector3.new(num1,num2,num3) | |
| 3140 | mesh6.Offset = mesh2.Offset + Vector3.new(num4,num5,num6) | |
| 3141 | end | |
| 3142 | ||
| 3143 | for i,v in pairs(char:GetChildren()) do | |
| 3144 | if v.ClassName == "Part" then | |
| 3145 | v.Material = "Plastic" | |
| 3146 | end | |
| 3147 | end | |
| 3148 | ||
| 3149 | ||
| 3150 | mesh:Destroy() | |
| 3151 | mesh2:Destroy() | |
| 3152 | mesh3:Destroy() | |
| 3153 | mesh4:Destroy() | |
| 3154 | mesh5:Destroy() | |
| 3155 | mesh6:Destroy() | |
| 3156 | end | |
| 3157 | end | |
| 3158 | end | |
| 3159 | ||
| 3160 | ||
| 3161 | ||
| 3162 | function OnDeath() | |
| 3163 | sss = true | |
| 3164 | pe:Destroy() | |
| 3165 | BillboardGui:Destroy() | |
| 3166 | song = 0 | |
| 3167 | hum:Destroy() | |
| 3168 | ||
| 3169 | for i,v in pairs(char:GetChildren()) do | |
| 3170 | if v.ClassName == "Part" then | |
| 3171 | v.Material = "Neon" | |
| 3172 | v.Anchored = true | |
| 3173 | v.CanCollide = true | |
| 3174 | for i,s in pairs(v:GetChildren()) do | |
| 3175 | if s.ClassName == "SpecialMesh" then | |
| 3176 | s.TextureId = "" | |
| 3177 | end | |
| 3178 | end | |
| 3179 | end | |
| 3180 | end | |
| 3181 | ||
| 3182 | local t = char.Torso | |
| 3183 | ||
| 3184 | for i,v in pairs(char:GetChildren()) do | |
| 3185 | if v.ClassName == "Part" then | |
| 3186 | v.Parent = workspace | |
| 3187 | v.Anchored = true | |
| 3188 | v.Material = "Marble" | |
| 3189 | v.BrickColor = BrickColor.new("Medium stone gray")
| |
| 3190 | v.CanCollide = true | |
| 3191 | v.CFrame = v.CFrame + Vector3.new(0,1,0) | |
| 3192 | end | |
| 3193 | end | |
| 3194 | ||
| 3195 | local base = Instance.new("Part",workspace)
| |
| 3196 | base.Material = "Marble" | |
| 3197 | base.Anchored = true | |
| 3198 | base.CFrame = t.CFrame - Vector3.new(0,3.5,0) | |
| 3199 | ||
| 3200 | ||
| 3201 | end | |
| 3202 | hum.Died:connect(OnDeath) | |
| 3203 | ||
| 3204 | if hum == nil then | |
| 3205 | sss = true | |
| 3206 | pe:Destroy() | |
| 3207 | BillboardGui:Destroy() | |
| 3208 | song = 0 | |
| 3209 | hum:Destroy() | |
| 3210 | ||
| 3211 | for i,v in pairs(char:GetChildren()) do | |
| 3212 | if v.ClassName == "Part" then | |
| 3213 | v.Material = "Neon" | |
| 3214 | v.Anchored = true | |
| 3215 | v.CanCollide = true | |
| 3216 | for i,s in pairs(v:GetChildren()) do | |
| 3217 | if s.ClassName == "SpecialMesh" then | |
| 3218 | s.TextureId = "" | |
| 3219 | end | |
| 3220 | end | |
| 3221 | end | |
| 3222 | end | |
| 3223 | ||
| 3224 | local t = char.Torso | |
| 3225 | ||
| 3226 | for i,v in pairs(char:GetChildren()) do | |
| 3227 | if v.ClassName == "Part" then | |
| 3228 | v.Parent = workspace | |
| 3229 | v.Anchored = true | |
| 3230 | v.Material = "Marble" | |
| 3231 | v.BrickColor = BrickColor.new("Medium stone gray")
| |
| 3232 | v.CanCollide = true | |
| 3233 | v.CFrame = v.CFrame + Vector3.new(0,1,0) | |
| 3234 | end | |
| 3235 | end | |
| 3236 | ||
| 3237 | local base = Instance.new("Part",workspace)
| |
| 3238 | base.Material = "Marble" | |
| 3239 | base.Anchored = true | |
| 3240 | base.CFrame = t.CFrame - Vector3.new(0,3.5,0) | |
| 3241 | ||
| 3242 | ||
| 3243 | end | |
| 3244 | ||
| 3245 | if mus.Parent == char then | |
| 3246 | mus.SoundId = "rbxassetid://"..shotid | |
| 3247 | timepos = mus.TimePosition | |
| 3248 | if not(mode.Value == "pm") then | |
| 3249 | mus.Pitch = 1.1 | |
| 3250 | mus.Volume = 1 | |
| 3251 | end | |
| 3252 | if mode.Value == "pm" then | |
| 3253 | mus.Pitch = 1 | |
| 3254 | mus.Volume = 2 | |
| 3255 | end | |
| 3256 | ||
| 3257 | else | |
| 3258 | mus = Instance.new("Sound", char)
| |
| 3259 | mus.TimePosition = timepos | |
| 3260 | end | |
| 3261 | ||
| 3262 | if mus3.Parent == char then | |
| 3263 | mus3.SoundId = "rbxassetid://"..song | |
| 3264 | mus3.Playing = true | |
| 3265 | if not(mode.Value == "ftd") then | |
| 3266 | mus3.Volume = 1 | |
| 3267 | end | |
| 3268 | if mode.Value == "ftd" then | |
| 3269 | mus3.Volume = 0.5 | |
| 3270 | end | |
| 3271 | mus3.Looped = true | |
| 3272 | timepos3 = mus3.TimePosition | |
| 3273 | else | |
| 3274 | mus3 = Instance.new("Sound", char)
| |
| 3275 | mus3.TimePosition = timepos3 | |
| 3276 | end | |
| 3277 | ||
| 3278 | if not(mode.Value == "pm") then | |
| 3279 | shotid = 1311235374 | |
| 3280 | end | |
| 3281 | ||
| 3282 | if mode.Value == "pm" then | |
| 3283 | shotid = 711753382 | |
| 3284 | end | |
| 3285 | ||
| 3286 | if remote.Parent == char then | |
| 3287 | remote.Name = "ReplicationEvent" | |
| 3288 | else | |
| 3289 | remote = Instance.new("RemoteEvent", char)
| |
| 3290 | end | |
| 3291 | local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char) | |
| 3292 | if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then | |
| 3293 | animpose = "Walking" | |
| 3294 | elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then | |
| 3295 | animpose = "Jumping" | |
| 3296 | elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then | |
| 3297 | animpose = "Falling" | |
| 3298 | else | |
| 3299 | animpose = "Idle" | |
| 3300 | end | |
| 3301 | if animpose == "Idle" and normalanim then | |
| 3302 | if mode.Value == "pm" then | |
| 3303 | RS.C0 = RS.C0:Lerp(CFrame.new(0.848735809, 0.679620743, 0.254655838, 0.338498712, 0.738355339, 0.58330965, 0.768441379, -0.574679315, 0.281499118, 0.543062329, 0.352952152, -0.761910915), 0.15) | |
| 3304 | LS.C0 = LS.C0:Lerp(CFrame.new(-1.01462555, 0.529279709, 0.280942917, 0.412421823, -0.621572852, -0.665999651, -0.716496646, -0.672819614, 0.184245646, -0.562619746, 0.401199639, -0.72284025), 0.15) | |
| 3305 | ||
| 3306 | RS.C1 = RS.C1:Lerp(CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.15) | |
| 3307 | LS.C1 = LS.C1:Lerp(CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.15) | |
| 3308 | end | |
| 3309 | ||
| 3310 | rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15) | |
| 3311 | if not(mode.Value == "radio" or mode.Value == "pm") then | |
| 3312 | RS.C0 = RS.C0:Lerp(RSnor, 0.15) | |
| 3313 | LS.C0 = LS.C0:Lerp(LSnor, 0.15) | |
| 3314 | RS.C1 = RS.C1:Lerp(RSnor2, 0.15) | |
| 3315 | LS.C1 = LS.C1:Lerp(LSnor2, 0.15) | |
| 3316 | end | |
| 3317 | if mode.Value == "radio" then | |
| 3318 | RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0.3, 0, 0), 0.15) | |
| 3319 | ||
| 3320 | LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0.3, 0, 0), 0.15) | |
| 3321 | end | |
| 3322 | RH.C0 = RH.C0:Lerp(RHnor, 0.15) | |
| 3323 | LH.C0 = LH.C0:Lerp(LHnor, 0.15) | |
| 3324 | elseif animpose == "Walking" and normalanim then | |
| 3325 | if mode.Value == "pm" then | |
| 3326 | RS.C0 = RS.C0:Lerp(RSnor, 0.15) | |
| 3327 | LS.C0 = LS.C0:Lerp(LSnor, 0.15) | |
| 3328 | end | |
| 3329 | ||
| 3330 | rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15) | |
| 3331 | if not(mode.Value == "radio") then | |
| 3332 | RS.C0 = RS.C0:Lerp(RSnor, 0.15) | |
| 3333 | LS.C0 = LS.C0:Lerp(LSnor, 0.15) | |
| 3334 | end | |
| 3335 | RH.C0 = RH.C0:Lerp(RHnor, 0.15) | |
| 3336 | LH.C0 = LH.C0:Lerp(LHnor, 0.15) | |
| 3337 | if not(mode.Value == "radio") then | |
| 3338 | RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0) | |
| 3339 | ||
| 3340 | LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0) | |
| 3341 | end | |
| 3342 | ||
| 3343 | if mode.Value == "radio" then | |
| 3344 | RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0.3, 0, 0), 0.15) | |
| 3345 | ||
| 3346 | LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0.3, 0, 0), 0.15) | |
| 3347 | end | |
| 3348 | RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0) | |
| 3349 | ||
| 3350 | -- legs | |
| 3351 | LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, math.sin(sine / 5)), 0.1) - Vector3.new(0, rootj.C0.Position.Y / 20, 0) | |
| 3352 | ||
| 3353 | elseif animpose == "Jumping" and normalanim then | |
| 3354 | rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-0.5, 0, 0), 0.15) | |
| 3355 | RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.3, 0, 0), 0.14) | |
| 3356 | LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.3, 0, 0), 0.14) | |
| 3357 | RH.C0 = RH.C0:Lerp(RHnor, 0.15) | |
| 3358 | LH.C0 = LH.C0:Lerp(LHnor, 0.15) | |
| 3359 | elseif animpose == "Falling" and normalanim then | |
| 3360 | rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0), 0.15) | |
| 3361 | RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.6, 0, 0), 0.14) | |
| 3362 | LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.6, 0, 0), 0.14) | |
| 3363 | RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.3, 0, 0), 0.10) | |
| 3364 | LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.3, 0, 0), 0.10) | |
| 3365 | end | |
| 3366 | end |