Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Configuration --
- local chancetoclone = 50
- local moveinterval = 0.15
- local mes = "THE INFECTOR IS HERE"
- -- Do not edit --
- local m = Instance.new("Hint")
- m.Parent = workspace
- m.Text = mes
- local fortnite = Instance.new("Sound")
- fortnite.Parent = workspace
- fortnite.SoundId = "rbxassetid://1838457617"
- fortnite.Looped = true
- fortnite:Play()
- local Infector = Instance.new("Part")
- local outline = Instance.new("SelectionBox")
- outline.Parent = Infector
- outline.Adornee = Infector
- outline.Color3 = Color3.fromRGB(0, 255, 0)
- local fire = Instance.new("Fire")
- fire.Parent = Infector
- fire.Size = 25
- fire.Heat = 100
- fire.Color = Color3.fromRGB(4, 255, 0)
- Infector.Position = Vector3.new(0,0,-100)
- Infector.Name = "The Infector"
- Infector.Size = Vector3.new(10,10,10)
- Infector.Parent = workspace
- Infector.Anchored = true
- Infector.CanCollide = false
- Infector.Transparency = 0
- Infector.Color = Color3.fromRGB(232, 99, 255)
- Infector.Reflectance = 100
- local decal = Instance.new("Decal")
- decal.Parent = Infector
- decal.Face = Enum.NormalId.Front
- decal.Texture = "http://www.roblox.com/asset/?id=5445652761"
- local gui = Instance.new("ScreenGui")
- local image = Instance.new("ImageLabel")
- gui.Parent = game.StarterGui
- gui.IgnoreGuiInset = true
- gui.ResetOnSpawn = false
- image.Transparency = 0.8
- image.Parent = gui
- image.Size = UDim2.new(1,0,1,0)
- image.Position = UDim2.new(0,0,0,0)
- image.BackgroundTransparency = 1
- image.Image = "http://www.roblox.com/asset/?id=168143562"
- image.ScaleType = Enum.ScaleType.Fit
- image.ImageColor3 = Color3.fromRGB(255, 255, 255)
- image.ImageTransparency = 0.8
- while wait() do
- local part = workspace:GetDescendants()[math.random(1, #workspace:GetDescendants())]
- if part:IsA("BasePart") and part.Parent:IsA("Model") then
- if part.Name ~= "The Infector" then
- game.TweenService:Create(Infector,TweenInfo.new(moveinterval,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0),{Position = part.Position}):Play()
- Infector.Orientation = part.Orientation
- local snap = Instance.new("Sound")
- part.Anchored = false
- part.CanCollide = false
- part.Color = Color3.fromRGB(0,0,0)
- snap.Parent = workspace
- snap.SoundId = "rbxassetid://12222140"
- snap.PlayOnRemove = true
- part.Name = "The Infector"
- snap:Destroy()
- local outline = Instance.new("SelectionBox")
- outline.Parent = part
- outline.Adornee = part
- outline.Color3 = Color3.fromRGB(0, 255, 0)
- wait(0.01)
- local clone = math.random(1,chancetoclone)
- if clone == chancetoclone then
- script:Clone().Parent = workspace
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement