SHOW:
|
|
- or go back to the newest paste.
| 1 | - | part = function() |
| 1 | + | Part1 = Instance.new("Part", owner.Character)
|
| 2 | - | |
| 2 | + | Part1.Size = Vector3.new(1,1,1) |
| 3 | - | local a = Instance.new("Part", owner.Character)
|
| 3 | + | Part1:SetNetworkOwner(owner) |
| 4 | - | a.CanCollide = false |
| 4 | + | b = Instance.new("BodyVelocity",Part1)
|
| 5 | - | a.Size = Vector3.new(6.5, 6.5, 6.5) |
| 5 | + | b.Velocity = Vector3.new() |
| 6 | - | a.Color = Color3.fromRGB(184, 65, 65) |
| 6 | + | b.MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 7 | - | a.Transparency = 0.7 |
| 7 | + | Part1.Name = "The" |
| 8 | - | a.Material = "Neon" |
| 8 | + | Part1.Shape = Enum.PartType.Ball |
| 9 | - | local b = Instance.new("BodyVelocity", a)
|
| 9 | + | |
| 10 | - | b.MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 10 | + | local infected = {}
|
| 11 | - | b.Velocity = Vector3.new() |
| 11 | + | |
| 12 | - | a:SetNetworkOwner(owner) |
| 12 | + | |
| 13 | - | return a |
| 13 | + | for i,v in pairs(workspace:GetDescendants()) do |
| 14 | if v ~= owner.Character:GetDescendants() then | |
| 15 | - | part2 = function() |
| 15 | + | |
| 16 | - | |
| 16 | + | if v ~= infected then |
| 17 | - | local a = Instance.new("Part", owner.Character)
|
| 17 | + | local attachment0 = Instance.new("Attachment")
|
| 18 | - | a.CanCollide = false |
| 18 | + | attachment0.Parent = v |
| 19 | - | a.Size = Vector3.new(6.7, 6.7, 6.7) |
| 19 | + | local attachment1 = Instance.new("Attachment")
|
| 20 | - | a.Color = Color3.fromRGB(120, 6, 6) |
| 20 | + | attachment1.Parent = Part1 |
| 21 | - | a.Transparency = 0.85 |
| 21 | + | alignposition = Instance.new("LineForce")
|
| 22 | - | a.Material = Enum.Material.ForceField |
| 22 | + | alignposition.Parent = owner.Character.HumanoidRootPart |
| 23 | - | local b = Instance.new("BodyVelocity", a)
|
| 23 | + | alignposition.Attachment0 = attachment0 |
| 24 | - | b.MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 24 | + | alignposition.Attachment1 = attachment1 |
| 25 | - | b.Velocity = Vector3.new() |
| 25 | + | alignposition.InverseSquareLaw = true |
| 26 | - | a:SetNetworkOwner(owner) |
| 26 | + | v.Anchored = false |
| 27 | - | return a |
| 27 | + | alignposition.Magnitude = alignposition.Magnitude * 0.5 |
| 28 | table.insert(infected,v) | |
| 29 | - | local replicating = false |
| 29 | + | |
| 30 | - | local root, a, b, c, d = nil, nil, nil, nil, nil |
| 30 | + | |
| 31 | - | replicate = function() |
| 31 | + | |
| 32 | - | |
| 32 | + | |
| 33 | - | replicating = true |
| 33 | + | |
| 34 | - | script:ClearAllChildren() |
| 34 | + | |
| 35 | - | root = part() |
| 35 | + | NLS([[ |
| 36 | - | root.Transparency = 1 |
| 36 | + | Part1 = owner.Character:WaitForChild("The")
|
| 37 | - | root.Size = Vector3.new(0.2, 0.2, 0.2) |
| 37 | + | game:GetService("RunService").RenderStepped:Connect(function()
|
| 38 | - | root.CanCollide = false |
| 38 | + | Part1.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0,10,-10) |
| 39 | - | a = part() |
| 39 | + | |
| 40 | - | b = part() |
| 40 | + | ]],owner.PlayerGui) |
| 41 | - | c = part2() |
| 41 | + |