Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Model1 = Instance.new("Model")
- BoolValue2 = Instance.new("BoolValue")
- Part3 = Instance.new("Part")
- Script4 = Instance.new("Script")
- Decal5 = Instance.new("Decal")
- PointLight6 = Instance.new("PointLight")
- Script7 = Instance.new("Script")
- Sound8 = Instance.new("Sound")
- Sound9 = Instance.new("Sound")
- BodyForce10 = Instance.new("BodyForce")
- Script11 = Instance.new("Script")
- BodyGyro12 = Instance.new("BodyGyro")
- Script13 = Instance.new("Script")
- Script14 = Instance.new("Script")
- Script15 = Instance.new("Script")
- Model16 = Instance.new("Model")
- BoolValue17 = Instance.new("BoolValue")
- Part18 = Instance.new("Part")
- Script19 = Instance.new("Script")
- Decal20 = Instance.new("Decal")
- PointLight21 = Instance.new("PointLight")
- Script22 = Instance.new("Script")
- Sound23 = Instance.new("Sound")
- Sound24 = Instance.new("Sound")
- BodyForce25 = Instance.new("BodyForce")
- Script26 = Instance.new("Script")
- BodyGyro27 = Instance.new("BodyGyro")
- Script28 = Instance.new("Script")
- Script29 = Instance.new("Script")
- Script30 = Instance.new("Script")
- Model31 = Instance.new("Model")
- BoolValue32 = Instance.new("BoolValue")
- Part33 = Instance.new("Part")
- Script34 = Instance.new("Script")
- Decal35 = Instance.new("Decal")
- PointLight36 = Instance.new("PointLight")
- Script37 = Instance.new("Script")
- Sound38 = Instance.new("Sound")
- Sound39 = Instance.new("Sound")
- BodyForce40 = Instance.new("BodyForce")
- Script41 = Instance.new("Script")
- BodyGyro42 = Instance.new("BodyGyro")
- Script43 = Instance.new("Script")
- Script44 = Instance.new("Script")
- Script45 = Instance.new("Script")
- Model46 = Instance.new("Model")
- BoolValue47 = Instance.new("BoolValue")
- Part48 = Instance.new("Part")
- Script49 = Instance.new("Script")
- Decal50 = Instance.new("Decal")
- PointLight51 = Instance.new("PointLight")
- Script52 = Instance.new("Script")
- Sound53 = Instance.new("Sound")
- Sound54 = Instance.new("Sound")
- BodyForce55 = Instance.new("BodyForce")
- Script56 = Instance.new("Script")
- BodyGyro57 = Instance.new("BodyGyro")
- Script58 = Instance.new("Script")
- Script59 = Instance.new("Script")
- Script60 = Instance.new("Script")
- Model61 = Instance.new("Model")
- BoolValue62 = Instance.new("BoolValue")
- Part63 = Instance.new("Part")
- Script64 = Instance.new("Script")
- Decal65 = Instance.new("Decal")
- PointLight66 = Instance.new("PointLight")
- Script67 = Instance.new("Script")
- Sound68 = Instance.new("Sound")
- Sound69 = Instance.new("Sound")
- BodyForce70 = Instance.new("BodyForce")
- Script71 = Instance.new("Script")
- BodyGyro72 = Instance.new("BodyGyro")
- Script73 = Instance.new("Script")
- Script74 = Instance.new("Script")
- Script75 = Instance.new("Script")
- Model76 = Instance.new("Model")
- BoolValue77 = Instance.new("BoolValue")
- Part78 = Instance.new("Part")
- Script79 = Instance.new("Script")
- Decal80 = Instance.new("Decal")
- PointLight81 = Instance.new("PointLight")
- Script82 = Instance.new("Script")
- Sound83 = Instance.new("Sound")
- Sound84 = Instance.new("Sound")
- BodyForce85 = Instance.new("BodyForce")
- Script86 = Instance.new("Script")
- BodyGyro87 = Instance.new("BodyGyro")
- Script88 = Instance.new("Script")
- Script89 = Instance.new("Script")
- Script90 = Instance.new("Script")
- Model91 = Instance.new("Model")
- BoolValue92 = Instance.new("BoolValue")
- Part93 = Instance.new("Part")
- Script94 = Instance.new("Script")
- Decal95 = Instance.new("Decal")
- PointLight96 = Instance.new("PointLight")
- Script97 = Instance.new("Script")
- Sound98 = Instance.new("Sound")
- Sound99 = Instance.new("Sound")
- BodyForce100 = Instance.new("BodyForce")
- Script101 = Instance.new("Script")
- BodyGyro102 = Instance.new("BodyGyro")
- Script103 = Instance.new("Script")
- Script104 = Instance.new("Script")
- Script105 = Instance.new("Script")
- Model106 = Instance.new("Model")
- BoolValue107 = Instance.new("BoolValue")
- Part108 = Instance.new("Part")
- Script109 = Instance.new("Script")
- Decal110 = Instance.new("Decal")
- PointLight111 = Instance.new("PointLight")
- Script112 = Instance.new("Script")
- Sound113 = Instance.new("Sound")
- Sound114 = Instance.new("Sound")
- BodyForce115 = Instance.new("BodyForce")
- Script116 = Instance.new("Script")
- BodyGyro117 = Instance.new("BodyGyro")
- Script118 = Instance.new("Script")
- Script119 = Instance.new("Script")
- Script120 = Instance.new("Script")
- Model0.Parent = mas
- Model1.Name = "Yummey!"
- Model1.Parent = Model0
- BoolValue2.Name = "on"
- BoolValue2.Parent = Model1
- BoolValue2.Value = true
- Part3.Name = "Yummey"
- Part3.Parent = Model1
- Part3.Material = Enum.Material.SmoothPlastic
- Part3.BrickColor = BrickColor.new("Bright red")
- Part3.FormFactor = Enum.FormFactor.Symmetric
- Part3.Shape = Enum.PartType.Ball
- Part3.Size = Vector3.new(1, 1, 1)
- Part3.CFrame = CFrame.new(-7.89999819, 0.5, 25.1000042, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part3.Position = Vector3.new(-7.89999819, 0.5, 25.1000042)
- Part3.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script4.Name = "clome"
- Script4.Parent = Part3
- table.insert(cors,sandbox(Script4,function()
- eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
- duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
- --[[I (kind of) made this script myself, because I copy and pasted
- everything i had in reach.
- i guess this is my first complete script.
- every other script in this model isn't made by me except the expire script.
- I only modified them.
- Modified the VirusScript to prevent the things from eating locked parts.
- ]]--
- local yummeyp = 0
- local brecksaet = 0
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BGMusic"
- s.SoundId = "http://www.roblox.com/asset/?id=16213987"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- s.Parent = script.Parent
- function cloneobjectpls()
- print("clone")
- local a=script.Parent:clone()
- --a.Script:remove()
- a.Position=script.Parent.Position
- a.Parent=script.Parent.Parent
- a.CanCollide=true
- a.Anchored=false
- a.Color = Color3.new (math.random (), math.random (), math.random () )
- a.Reflectance = 0
- yummeyp = 0
- end
- function eat_brecks_pls()
- print("I liek aeting thengs!")
- --yes
- brecksaet = brecksaet + 1
- yummeyp = yummeyp + 1
- if yummeyp == 5 then
- cloneobjectpls()
- end
- print("yummey")
- s:play()
- end
- function onTouched(hit)
- if (hit ~= nil) then
- if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
- if (hit.locked == true) then
- if eatlocked == 1 then
- hit:remove()
- eat_brecks_pls()
- end
- end
- if (hit.Locked == false) then
- hit:remove()
- eat_brecks_pls()
- end
- end
- end
- connection = script.Parent.Touched:connect(onTouched)
- end))
- Decal5.Parent = Part3
- Decal5.Texture = "http://www.roblox.com/asset/?id=171121051"
- PointLight6.Parent = Part3
- PointLight6.Color = Color3.new(1, 0, 0)
- PointLight6.Brightness = 10
- PointLight6.Color = Color3.new(1, 0, 0)
- Script7.Name = "Face"
- Script7.Parent = Part3
- table.insert(cors,sandbox(Script7,function()
- -- declarations
- local head = script.Parent
- local sound = head:findFirstChild("Victory")
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- sound:play()
- if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
- part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound8.Name = "Victory"
- Sound8.Parent = Part3
- Sound8.SoundId = "rbxasset://sounds/victory.wav"
- Sound8.Volume = 0.20000000298023
- Sound9.Name = "Scream"
- Sound9.Parent = Part3
- Sound9.Pitch = 0.69999998807907
- Sound9.Volume = 1
- BodyForce10.Parent = Part3
- BodyForce10.force = Vector3.new(0, 97.5988159, 0)
- Script11.Parent = Part3
- table.insert(cors,sandbox(Script11,function()
- --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
- function onTouched(hit)
- local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
- if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
- human.Health = 0
- human:breakjoint()
- print("pwned lol")
- end--don't mess with this
- end--don't mess with this
- if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
- connection = script.Parent.Touched:connect(onTouched)--don't mess with this
- end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
- end))
- BodyGyro12.Parent = Part3
- Script13.Name = "Expire"
- Script13.Parent = Part3
- table.insert(cors,sandbox(Script13,function()
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BMusic"
- s.SoundId = "rbxasset://sounds/uuhhh.wav"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- print("expire script!!!!! nao u eat brecks.")
- wait(180)
- print("ded")
- s:play()
- self:remove()
- end))
- Script14.Name = "VirusScript"
- Script14.Parent = Part3
- table.insert(cors,sandbox(Script14,function()
- wait(1)
- coroutine.resume(coroutine.create(function()
- wait(1)
- end))
- script.Parent.Touched:connect(function(hit)
- if hit == nil then return end
- if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
- local s = script.InfectedScript:clone()
- local t = script:clone()
- t.Disabled = true
- t.Parent = s
- s.Disabled = false
- s.Parent = hit
- GetTarget()
- end)
- function attack(what)
- if (what.Locked == true) then return end
- while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
- script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
- script.Parent.Velocity = script.Parent.CFrame.lookVector*100
- wait(0.1)
- end
- GetTarget()
- end
- function find(w)
- if #w:GetChildren() == 0 then return end
- for _,v in pairs(w:GetChildren()) do
- if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
- if v.className == "Part" and v.Locked ~= true then
- table.insert(a,v)
- end
- find(v)
- end
- end
- end
- function GetTarget()
- wait(.1)
- a = {}
- find(game.Workspace)
- if #a == 0 then GetTarget()end
- min = 99999
- target = nil
- for _,v in pairs(a) do
- if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
- min = (script.Parent.Position-v.Position).magnitude
- target = v
- end
- end
- if target == nil or target.Locked == true then GetTarget()end
- --found out the problem
- attack(target)
- end
- GetTarget()
- end))
- Script15.Name = "version"
- Script15.Parent = Model1
- table.insert(cors,sandbox(Script15,function()
- print 'version 0.5'
- --figured out how to keep them from eating locked parts
- end))
- Model16.Name = "Yummey!"
- Model16.Parent = Model0
- BoolValue17.Name = "on"
- BoolValue17.Parent = Model16
- BoolValue17.Value = true
- Part18.Name = "Yummey"
- Part18.Parent = Model16
- Part18.Material = Enum.Material.SmoothPlastic
- Part18.BrickColor = BrickColor.new("Bright red")
- Part18.FormFactor = Enum.FormFactor.Symmetric
- Part18.Shape = Enum.PartType.Ball
- Part18.Size = Vector3.new(1, 1, 1)
- Part18.CFrame = CFrame.new(-9.5, 0.5, 25.1000042, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.TopSurface = Enum.SurfaceType.Smooth
- Part18.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part18.Position = Vector3.new(-9.5, 0.5, 25.1000042)
- Part18.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script19.Name = "clome"
- Script19.Parent = Part18
- table.insert(cors,sandbox(Script19,function()
- eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
- duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
- --[[I (kind of) made this script myself, because I copy and pasted
- everything i had in reach.
- i guess this is my first complete script.
- every other script in this model isn't made by me except the expire script.
- I only modified them.
- Modified the VirusScript to prevent the things from eating locked parts.
- ]]--
- local yummeyp = 0
- local brecksaet = 0
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BGMusic"
- s.SoundId = "http://www.roblox.com/asset/?id=16213987"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- s.Parent = script.Parent
- function cloneobjectpls()
- print("clone")
- local a=script.Parent:clone()
- --a.Script:remove()
- a.Position=script.Parent.Position
- a.Parent=script.Parent.Parent
- a.CanCollide=true
- a.Anchored=false
- a.Color = Color3.new (math.random (), math.random (), math.random () )
- a.Reflectance = 0
- yummeyp = 0
- end
- function eat_brecks_pls()
- print("I liek aeting thengs!")
- --yes
- brecksaet = brecksaet + 1
- yummeyp = yummeyp + 1
- if yummeyp == 5 then
- cloneobjectpls()
- end
- print("yummey")
- s:play()
- end
- function onTouched(hit)
- if (hit ~= nil) then
- if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
- if (hit.locked == true) then
- if eatlocked == 1 then
- hit:remove()
- eat_brecks_pls()
- end
- end
- if (hit.Locked == false) then
- hit:remove()
- eat_brecks_pls()
- end
- end
- end
- connection = script.Parent.Touched:connect(onTouched)
- end))
- Decal20.Parent = Part18
- Decal20.Texture = "http://www.roblox.com/asset/?id=171121051"
- PointLight21.Parent = Part18
- PointLight21.Color = Color3.new(1, 0, 0)
- PointLight21.Brightness = 10
- PointLight21.Color = Color3.new(1, 0, 0)
- Script22.Name = "Face"
- Script22.Parent = Part18
- table.insert(cors,sandbox(Script22,function()
- -- declarations
- local head = script.Parent
- local sound = head:findFirstChild("Victory")
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- sound:play()
- if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
- part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound23.Name = "Victory"
- Sound23.Parent = Part18
- Sound23.SoundId = "rbxasset://sounds/victory.wav"
- Sound23.Volume = 0.20000000298023
- Sound24.Name = "Scream"
- Sound24.Parent = Part18
- Sound24.Pitch = 0.69999998807907
- Sound24.Volume = 1
- BodyForce25.Parent = Part18
- BodyForce25.force = Vector3.new(0, 97.5988159, 0)
- Script26.Parent = Part18
- table.insert(cors,sandbox(Script26,function()
- --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
- function onTouched(hit)
- local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
- if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
- human.Health = 0
- human:breakjoint()
- print("pwned lol")
- end--don't mess with this
- end--don't mess with this
- if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
- connection = script.Parent.Touched:connect(onTouched)--don't mess with this
- end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
- end))
- BodyGyro27.Parent = Part18
- Script28.Name = "Expire"
- Script28.Parent = Part18
- table.insert(cors,sandbox(Script28,function()
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BMusic"
- s.SoundId = "rbxasset://sounds/uuhhh.wav"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- print("expire script!!!!! nao u eat brecks.")
- wait(180)
- print("ded")
- s:play()
- self:remove()
- end))
- Script29.Name = "VirusScript"
- Script29.Parent = Part18
- table.insert(cors,sandbox(Script29,function()
- wait(1)
- coroutine.resume(coroutine.create(function()
- wait(1)
- end))
- script.Parent.Touched:connect(function(hit)
- if hit == nil then return end
- if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
- local s = script.InfectedScript:clone()
- local t = script:clone()
- t.Disabled = true
- t.Parent = s
- s.Disabled = false
- s.Parent = hit
- GetTarget()
- end)
- function attack(what)
- if (what.Locked == true) then return end
- while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
- script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
- script.Parent.Velocity = script.Parent.CFrame.lookVector*100
- wait(0.1)
- end
- GetTarget()
- end
- function find(w)
- if #w:GetChildren() == 0 then return end
- for _,v in pairs(w:GetChildren()) do
- if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
- if v.className == "Part" and v.Locked ~= true then
- table.insert(a,v)
- end
- find(v)
- end
- end
- end
- function GetTarget()
- wait(.1)
- a = {}
- find(game.Workspace)
- if #a == 0 then GetTarget()end
- min = 99999
- target = nil
- for _,v in pairs(a) do
- if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
- min = (script.Parent.Position-v.Position).magnitude
- target = v
- end
- end
- if target == nil or target.Locked == true then GetTarget()end
- --found out the problem
- attack(target)
- end
- GetTarget()
- end))
- Script30.Name = "version"
- Script30.Parent = Model16
- table.insert(cors,sandbox(Script30,function()
- print 'version 0.5'
- --figured out how to keep them from eating locked parts
- end))
- Model31.Name = "Yummey!"
- Model31.Parent = Model0
- BoolValue32.Name = "on"
- BoolValue32.Parent = Model31
- BoolValue32.Value = true
- Part33.Name = "Yummey"
- Part33.Parent = Model31
- Part33.Material = Enum.Material.SmoothPlastic
- Part33.BrickColor = BrickColor.new("Bright red")
- Part33.FormFactor = Enum.FormFactor.Symmetric
- Part33.Shape = Enum.PartType.Ball
- Part33.Size = Vector3.new(1, 1, 1)
- Part33.CFrame = CFrame.new(-9.5, 2.30000019, 25.1000042, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part33.Position = Vector3.new(-9.5, 2.30000019, 25.1000042)
- Part33.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script34.Name = "clome"
- Script34.Parent = Part33
- table.insert(cors,sandbox(Script34,function()
- eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
- duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
- --[[I (kind of) made this script myself, because I copy and pasted
- everything i had in reach.
- i guess this is my first complete script.
- every other script in this model isn't made by me except the expire script.
- I only modified them.
- Modified the VirusScript to prevent the things from eating locked parts.
- ]]--
- local yummeyp = 0
- local brecksaet = 0
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BGMusic"
- s.SoundId = "http://www.roblox.com/asset/?id=16213987"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- s.Parent = script.Parent
- function cloneobjectpls()
- print("clone")
- local a=script.Parent:clone()
- --a.Script:remove()
- a.Position=script.Parent.Position
- a.Parent=script.Parent.Parent
- a.CanCollide=true
- a.Anchored=false
- a.Color = Color3.new (math.random (), math.random (), math.random () )
- a.Reflectance = 0
- yummeyp = 0
- end
- function eat_brecks_pls()
- print("I liek aeting thengs!")
- --yes
- brecksaet = brecksaet + 1
- yummeyp = yummeyp + 1
- if yummeyp == 5 then
- cloneobjectpls()
- end
- print("yummey")
- s:play()
- end
- function onTouched(hit)
- if (hit ~= nil) then
- if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
- if (hit.locked == true) then
- if eatlocked == 1 then
- hit:remove()
- eat_brecks_pls()
- end
- end
- if (hit.Locked == false) then
- hit:remove()
- eat_brecks_pls()
- end
- end
- end
- connection = script.Parent.Touched:connect(onTouched)
- end))
- Decal35.Parent = Part33
- Decal35.Texture = "http://www.roblox.com/asset/?id=171121051"
- PointLight36.Parent = Part33
- PointLight36.Color = Color3.new(1, 0, 0)
- PointLight36.Brightness = 10
- PointLight36.Color = Color3.new(1, 0, 0)
- Script37.Name = "Face"
- Script37.Parent = Part33
- table.insert(cors,sandbox(Script37,function()
- -- declarations
- local head = script.Parent
- local sound = head:findFirstChild("Victory")
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- sound:play()
- if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
- part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound38.Name = "Victory"
- Sound38.Parent = Part33
- Sound38.SoundId = "rbxasset://sounds/victory.wav"
- Sound38.Volume = 0.20000000298023
- Sound39.Name = "Scream"
- Sound39.Parent = Part33
- Sound39.Pitch = 0.69999998807907
- Sound39.Volume = 1
- BodyForce40.Parent = Part33
- BodyForce40.force = Vector3.new(0, 97.5988159, 0)
- Script41.Parent = Part33
- table.insert(cors,sandbox(Script41,function()
- --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
- function onTouched(hit)
- local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
- if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
- human.Health = 0
- human:breakjoint()
- print("pwned lol")
- end--don't mess with this
- end--don't mess with this
- if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
- connection = script.Parent.Touched:connect(onTouched)--don't mess with this
- end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
- end))
- BodyGyro42.Parent = Part33
- Script43.Name = "Expire"
- Script43.Parent = Part33
- table.insert(cors,sandbox(Script43,function()
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BMusic"
- s.SoundId = "rbxasset://sounds/uuhhh.wav"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- print("expire script!!!!! nao u eat brecks.")
- wait(180)
- print("ded")
- s:play()
- self:remove()
- end))
- Script44.Name = "VirusScript"
- Script44.Parent = Part33
- table.insert(cors,sandbox(Script44,function()
- wait(1)
- coroutine.resume(coroutine.create(function()
- wait(1)
- end))
- script.Parent.Touched:connect(function(hit)
- if hit == nil then return end
- if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
- local s = script.InfectedScript:clone()
- local t = script:clone()
- t.Disabled = true
- t.Parent = s
- s.Disabled = false
- s.Parent = hit
- GetTarget()
- end)
- function attack(what)
- if (what.Locked == true) then return end
- while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
- script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
- script.Parent.Velocity = script.Parent.CFrame.lookVector*100
- wait(0.1)
- end
- GetTarget()
- end
- function find(w)
- if #w:GetChildren() == 0 then return end
- for _,v in pairs(w:GetChildren()) do
- if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
- if v.className == "Part" and v.Locked ~= true then
- table.insert(a,v)
- end
- find(v)
- end
- end
- end
- function GetTarget()
- wait(.1)
- a = {}
- find(game.Workspace)
- if #a == 0 then GetTarget()end
- min = 99999
- target = nil
- for _,v in pairs(a) do
- if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
- min = (script.Parent.Position-v.Position).magnitude
- target = v
- end
- end
- if target == nil or target.Locked == true then GetTarget()end
- --found out the problem
- attack(target)
- end
- GetTarget()
- end))
- Script45.Name = "version"
- Script45.Parent = Model31
- table.insert(cors,sandbox(Script45,function()
- print 'version 0.5'
- --figured out how to keep them from eating locked parts
- end))
- Model46.Name = "Yummey!"
- Model46.Parent = Model0
- BoolValue47.Name = "on"
- BoolValue47.Parent = Model46
- BoolValue47.Value = true
- Part48.Name = "Yummey"
- Part48.Parent = Model46
- Part48.Material = Enum.Material.SmoothPlastic
- Part48.BrickColor = BrickColor.new("Bright red")
- Part48.FormFactor = Enum.FormFactor.Symmetric
- Part48.Shape = Enum.PartType.Ball
- Part48.Size = Vector3.new(1, 1, 1)
- Part48.CFrame = CFrame.new(-7.89999819, 2.30000019, 25.1000042, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part48.BottomSurface = Enum.SurfaceType.Smooth
- Part48.TopSurface = Enum.SurfaceType.Smooth
- Part48.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part48.Position = Vector3.new(-7.89999819, 2.30000019, 25.1000042)
- Part48.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script49.Name = "clome"
- Script49.Parent = Part48
- table.insert(cors,sandbox(Script49,function()
- eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
- duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
- --[[I (kind of) made this script myself, because I copy and pasted
- everything i had in reach.
- i guess this is my first complete script.
- every other script in this model isn't made by me except the expire script.
- I only modified them.
- Modified the VirusScript to prevent the things from eating locked parts.
- ]]--
- local yummeyp = 0
- local brecksaet = 0
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BGMusic"
- s.SoundId = "http://www.roblox.com/asset/?id=16213987"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- s.Parent = script.Parent
- function cloneobjectpls()
- print("clone")
- local a=script.Parent:clone()
- --a.Script:remove()
- a.Position=script.Parent.Position
- a.Parent=script.Parent.Parent
- a.CanCollide=true
- a.Anchored=false
- a.Color = Color3.new (math.random (), math.random (), math.random () )
- a.Reflectance = 0
- yummeyp = 0
- end
- function eat_brecks_pls()
- print("I liek aeting thengs!")
- --yes
- brecksaet = brecksaet + 1
- yummeyp = yummeyp + 1
- if yummeyp == 5 then
- cloneobjectpls()
- end
- print("yummey")
- s:play()
- end
- function onTouched(hit)
- if (hit ~= nil) then
- if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
- if (hit.locked == true) then
- if eatlocked == 1 then
- hit:remove()
- eat_brecks_pls()
- end
- end
- if (hit.Locked == false) then
- hit:remove()
- eat_brecks_pls()
- end
- end
- end
- connection = script.Parent.Touched:connect(onTouched)
- end))
- Decal50.Parent = Part48
- Decal50.Texture = "http://www.roblox.com/asset/?id=171121051"
- PointLight51.Parent = Part48
- PointLight51.Color = Color3.new(1, 0, 0)
- PointLight51.Brightness = 10
- PointLight51.Color = Color3.new(1, 0, 0)
- Script52.Name = "Face"
- Script52.Parent = Part48
- table.insert(cors,sandbox(Script52,function()
- -- declarations
- local head = script.Parent
- local sound = head:findFirstChild("Victory")
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- sound:play()
- if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
- part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound53.Name = "Victory"
- Sound53.Parent = Part48
- Sound53.SoundId = "rbxasset://sounds/victory.wav"
- Sound53.Volume = 0.20000000298023
- Sound54.Name = "Scream"
- Sound54.Parent = Part48
- Sound54.Pitch = 0.69999998807907
- Sound54.Volume = 1
- BodyForce55.Parent = Part48
- BodyForce55.force = Vector3.new(0, 97.5988159, 0)
- Script56.Parent = Part48
- table.insert(cors,sandbox(Script56,function()
- --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
- function onTouched(hit)
- local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
- if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
- human.Health = 0
- human:breakjoint()
- print("pwned lol")
- end--don't mess with this
- end--don't mess with this
- if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
- connection = script.Parent.Touched:connect(onTouched)--don't mess with this
- end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
- end))
- BodyGyro57.Parent = Part48
- Script58.Name = "Expire"
- Script58.Parent = Part48
- table.insert(cors,sandbox(Script58,function()
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BMusic"
- s.SoundId = "rbxasset://sounds/uuhhh.wav"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- print("expire script!!!!! nao u eat brecks.")
- wait(180)
- print("ded")
- s:play()
- self:remove()
- end))
- Script59.Name = "VirusScript"
- Script59.Parent = Part48
- table.insert(cors,sandbox(Script59,function()
- wait(1)
- coroutine.resume(coroutine.create(function()
- wait(1)
- end))
- script.Parent.Touched:connect(function(hit)
- if hit == nil then return end
- if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
- local s = script.InfectedScript:clone()
- local t = script:clone()
- t.Disabled = true
- t.Parent = s
- s.Disabled = false
- s.Parent = hit
- GetTarget()
- end)
- function attack(what)
- if (what.Locked == true) then return end
- while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
- script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
- script.Parent.Velocity = script.Parent.CFrame.lookVector*100
- wait(0.1)
- end
- GetTarget()
- end
- function find(w)
- if #w:GetChildren() == 0 then return end
- for _,v in pairs(w:GetChildren()) do
- if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
- if v.className == "Part" and v.Locked ~= true then
- table.insert(a,v)
- end
- find(v)
- end
- end
- end
- function GetTarget()
- wait(.1)
- a = {}
- find(game.Workspace)
- if #a == 0 then GetTarget()end
- min = 99999
- target = nil
- for _,v in pairs(a) do
- if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
- min = (script.Parent.Position-v.Position).magnitude
- target = v
- end
- end
- if target == nil or target.Locked == true then GetTarget()end
- --found out the problem
- attack(target)
- end
- GetTarget()
- end))
- Script60.Name = "version"
- Script60.Parent = Model46
- table.insert(cors,sandbox(Script60,function()
- print 'version 0.5'
- --figured out how to keep them from eating locked parts
- end))
- Model61.Name = "Yummey!"
- Model61.Parent = Model0
- BoolValue62.Name = "on"
- BoolValue62.Parent = Model61
- BoolValue62.Value = true
- Part63.Name = "Yummey"
- Part63.Parent = Model61
- Part63.Material = Enum.Material.SmoothPlastic
- Part63.BrickColor = BrickColor.new("Bright red")
- Part63.FormFactor = Enum.FormFactor.Symmetric
- Part63.Shape = Enum.PartType.Ball
- Part63.Size = Vector3.new(1, 1, 1)
- Part63.CFrame = CFrame.new(-7.89999819, 2.30000019, 23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part63.BottomSurface = Enum.SurfaceType.Smooth
- Part63.TopSurface = Enum.SurfaceType.Smooth
- Part63.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part63.Position = Vector3.new(-7.89999819, 2.30000019, 23.5)
- Part63.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script64.Name = "clome"
- Script64.Parent = Part63
- table.insert(cors,sandbox(Script64,function()
- eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
- duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
- --[[I (kind of) made this script myself, because I copy and pasted
- everything i had in reach.
- i guess this is my first complete script.
- every other script in this model isn't made by me except the expire script.
- I only modified them.
- Modified the VirusScript to prevent the things from eating locked parts.
- ]]--
- local yummeyp = 0
- local brecksaet = 0
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BGMusic"
- s.SoundId = "http://www.roblox.com/asset/?id=16213987"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- s.Parent = script.Parent
- function cloneobjectpls()
- print("clone")
- local a=script.Parent:clone()
- --a.Script:remove()
- a.Position=script.Parent.Position
- a.Parent=script.Parent.Parent
- a.CanCollide=true
- a.Anchored=false
- a.Color = Color3.new (math.random (), math.random (), math.random () )
- a.Reflectance = 0
- yummeyp = 0
- end
- function eat_brecks_pls()
- print("I liek aeting thengs!")
- --yes
- brecksaet = brecksaet + 1
- yummeyp = yummeyp + 1
- if yummeyp == 5 then
- cloneobjectpls()
- end
- print("yummey")
- s:play()
- end
- function onTouched(hit)
- if (hit ~= nil) then
- if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
- if (hit.locked == true) then
- if eatlocked == 1 then
- hit:remove()
- eat_brecks_pls()
- end
- end
- if (hit.Locked == false) then
- hit:remove()
- eat_brecks_pls()
- end
- end
- end
- connection = script.Parent.Touched:connect(onTouched)
- end))
- Decal65.Parent = Part63
- Decal65.Texture = "http://www.roblox.com/asset/?id=171121051"
- PointLight66.Parent = Part63
- PointLight66.Color = Color3.new(1, 0, 0)
- PointLight66.Brightness = 10
- PointLight66.Color = Color3.new(1, 0, 0)
- Script67.Name = "Face"
- Script67.Parent = Part63
- table.insert(cors,sandbox(Script67,function()
- -- declarations
- local head = script.Parent
- local sound = head:findFirstChild("Victory")
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- sound:play()
- if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
- part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound68.Name = "Victory"
- Sound68.Parent = Part63
- Sound68.SoundId = "rbxasset://sounds/victory.wav"
- Sound68.Volume = 0.20000000298023
- Sound69.Name = "Scream"
- Sound69.Parent = Part63
- Sound69.Pitch = 0.69999998807907
- Sound69.Volume = 1
- BodyForce70.Parent = Part63
- BodyForce70.force = Vector3.new(0, 97.5988159, 0)
- Script71.Parent = Part63
- table.insert(cors,sandbox(Script71,function()
- --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
- function onTouched(hit)
- local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
- if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
- human.Health = 0
- human:breakjoint()
- print("pwned lol")
- end--don't mess with this
- end--don't mess with this
- if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
- connection = script.Parent.Touched:connect(onTouched)--don't mess with this
- end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
- end))
- BodyGyro72.Parent = Part63
- Script73.Name = "Expire"
- Script73.Parent = Part63
- table.insert(cors,sandbox(Script73,function()
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BMusic"
- s.SoundId = "rbxasset://sounds/uuhhh.wav"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- print("expire script!!!!! nao u eat brecks.")
- wait(180)
- print("ded")
- s:play()
- self:remove()
- end))
- Script74.Name = "VirusScript"
- Script74.Parent = Part63
- table.insert(cors,sandbox(Script74,function()
- wait(1)
- coroutine.resume(coroutine.create(function()
- wait(1)
- end))
- script.Parent.Touched:connect(function(hit)
- if hit == nil then return end
- if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
- local s = script.InfectedScript:clone()
- local t = script:clone()
- t.Disabled = true
- t.Parent = s
- s.Disabled = false
- s.Parent = hit
- GetTarget()
- end)
- function attack(what)
- if (what.Locked == true) then return end
- while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
- script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
- script.Parent.Velocity = script.Parent.CFrame.lookVector*100
- wait(0.1)
- end
- GetTarget()
- end
- function find(w)
- if #w:GetChildren() == 0 then return end
- for _,v in pairs(w:GetChildren()) do
- if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
- if v.className == "Part" and v.Locked ~= true then
- table.insert(a,v)
- end
- find(v)
- end
- end
- end
- function GetTarget()
- wait(.1)
- a = {}
- find(game.Workspace)
- if #a == 0 then GetTarget()end
- min = 99999
- target = nil
- for _,v in pairs(a) do
- if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
- min = (script.Parent.Position-v.Position).magnitude
- target = v
- end
- end
- if target == nil or target.Locked == true then GetTarget()end
- --found out the problem
- attack(target)
- end
- GetTarget()
- end))
- Script75.Name = "version"
- Script75.Parent = Model61
- table.insert(cors,sandbox(Script75,function()
- print 'version 0.5'
- --figured out how to keep them from eating locked parts
- end))
- Model76.Name = "Yummey!"
- Model76.Parent = Model0
- BoolValue77.Name = "on"
- BoolValue77.Parent = Model76
- BoolValue77.Value = true
- Part78.Name = "Yummey"
- Part78.Parent = Model76
- Part78.Material = Enum.Material.SmoothPlastic
- Part78.BrickColor = BrickColor.new("Bright red")
- Part78.FormFactor = Enum.FormFactor.Symmetric
- Part78.Shape = Enum.PartType.Ball
- Part78.Size = Vector3.new(1, 1, 1)
- Part78.CFrame = CFrame.new(-9.5, 2.30000019, 23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part78.BottomSurface = Enum.SurfaceType.Smooth
- Part78.TopSurface = Enum.SurfaceType.Smooth
- Part78.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part78.Position = Vector3.new(-9.5, 2.30000019, 23.5)
- Part78.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script79.Name = "clome"
- Script79.Parent = Part78
- table.insert(cors,sandbox(Script79,function()
- eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
- duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
- --[[I (kind of) made this script myself, because I copy and pasted
- everything i had in reach.
- i guess this is my first complete script.
- every other script in this model isn't made by me except the expire script.
- I only modified them.
- Modified the VirusScript to prevent the things from eating locked parts.
- ]]--
- local yummeyp = 0
- local brecksaet = 0
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BGMusic"
- s.SoundId = "http://www.roblox.com/asset/?id=16213987"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- s.Parent = script.Parent
- function cloneobjectpls()
- print("clone")
- local a=script.Parent:clone()
- --a.Script:remove()
- a.Position=script.Parent.Position
- a.Parent=script.Parent.Parent
- a.CanCollide=true
- a.Anchored=false
- a.Color = Color3.new (math.random (), math.random (), math.random () )
- a.Reflectance = 0
- yummeyp = 0
- end
- function eat_brecks_pls()
- print("I liek aeting thengs!")
- --yes
- brecksaet = brecksaet + 1
- yummeyp = yummeyp + 1
- if yummeyp == 5 then
- cloneobjectpls()
- end
- print("yummey")
- s:play()
- end
- function onTouched(hit)
- if (hit ~= nil) then
- if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
- if (hit.locked == true) then
- if eatlocked == 1 then
- hit:remove()
- eat_brecks_pls()
- end
- end
- if (hit.Locked == false) then
- hit:remove()
- eat_brecks_pls()
- end
- end
- end
- connection = script.Parent.Touched:connect(onTouched)
- end))
- Decal80.Parent = Part78
- Decal80.Texture = "http://www.roblox.com/asset/?id=171121051"
- PointLight81.Parent = Part78
- PointLight81.Color = Color3.new(1, 0, 0)
- PointLight81.Brightness = 10
- PointLight81.Color = Color3.new(1, 0, 0)
- Script82.Name = "Face"
- Script82.Parent = Part78
- table.insert(cors,sandbox(Script82,function()
- -- declarations
- local head = script.Parent
- local sound = head:findFirstChild("Victory")
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- sound:play()
- if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
- part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound83.Name = "Victory"
- Sound83.Parent = Part78
- Sound83.SoundId = "rbxasset://sounds/victory.wav"
- Sound83.Volume = 0.20000000298023
- Sound84.Name = "Scream"
- Sound84.Parent = Part78
- Sound84.Pitch = 0.69999998807907
- Sound84.Volume = 1
- BodyForce85.Parent = Part78
- BodyForce85.force = Vector3.new(0, 97.5988159, 0)
- Script86.Parent = Part78
- table.insert(cors,sandbox(Script86,function()
- --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
- function onTouched(hit)
- local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
- if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
- human.Health = 0
- human:breakjoint()
- print("pwned lol")
- end--don't mess with this
- end--don't mess with this
- if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
- connection = script.Parent.Touched:connect(onTouched)--don't mess with this
- end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
- end))
- BodyGyro87.Parent = Part78
- Script88.Name = "Expire"
- Script88.Parent = Part78
- table.insert(cors,sandbox(Script88,function()
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BMusic"
- s.SoundId = "rbxasset://sounds/uuhhh.wav"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- print("expire script!!!!! nao u eat brecks.")
- wait(180)
- print("ded")
- s:play()
- self:remove()
- end))
- Script89.Name = "VirusScript"
- Script89.Parent = Part78
- table.insert(cors,sandbox(Script89,function()
- wait(1)
- coroutine.resume(coroutine.create(function()
- wait(1)
- end))
- script.Parent.Touched:connect(function(hit)
- if hit == nil then return end
- if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
- local s = script.InfectedScript:clone()
- local t = script:clone()
- t.Disabled = true
- t.Parent = s
- s.Disabled = false
- s.Parent = hit
- GetTarget()
- end)
- function attack(what)
- if (what.Locked == true) then return end
- while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
- script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
- script.Parent.Velocity = script.Parent.CFrame.lookVector*100
- wait(0.1)
- end
- GetTarget()
- end
- function find(w)
- if #w:GetChildren() == 0 then return end
- for _,v in pairs(w:GetChildren()) do
- if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
- if v.className == "Part" and v.Locked ~= true then
- table.insert(a,v)
- end
- find(v)
- end
- end
- end
- function GetTarget()
- wait(.1)
- a = {}
- find(game.Workspace)
- if #a == 0 then GetTarget()end
- min = 99999
- target = nil
- for _,v in pairs(a) do
- if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
- min = (script.Parent.Position-v.Position).magnitude
- target = v
- end
- end
- if target == nil or target.Locked == true then GetTarget()end
- --found out the problem
- attack(target)
- end
- GetTarget()
- end))
- Script90.Name = "version"
- Script90.Parent = Model76
- table.insert(cors,sandbox(Script90,function()
- print 'version 0.5'
- --figured out how to keep them from eating locked parts
- end))
- Model91.Name = "Yummey!"
- Model91.Parent = Model0
- BoolValue92.Name = "on"
- BoolValue92.Parent = Model91
- BoolValue92.Value = true
- Part93.Name = "Yummey"
- Part93.Parent = Model91
- Part93.Material = Enum.Material.SmoothPlastic
- Part93.BrickColor = BrickColor.new("Bright red")
- Part93.FormFactor = Enum.FormFactor.Symmetric
- Part93.Shape = Enum.PartType.Ball
- Part93.Size = Vector3.new(1, 1, 1)
- Part93.CFrame = CFrame.new(-7.89999819, 0.5, 23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part93.BottomSurface = Enum.SurfaceType.Smooth
- Part93.TopSurface = Enum.SurfaceType.Smooth
- Part93.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part93.Position = Vector3.new(-7.89999819, 0.5, 23.5)
- Part93.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script94.Name = "clome"
- Script94.Parent = Part93
- table.insert(cors,sandbox(Script94,function()
- eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
- duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
- --[[I (kind of) made this script myself, because I copy and pasted
- everything i had in reach.
- i guess this is my first complete script.
- every other script in this model isn't made by me except the expire script.
- I only modified them.
- Modified the VirusScript to prevent the things from eating locked parts.
- ]]--
- local yummeyp = 0
- local brecksaet = 0
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BGMusic"
- s.SoundId = "http://www.roblox.com/asset/?id=16213987"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- s.Parent = script.Parent
- function cloneobjectpls()
- print("clone")
- local a=script.Parent:clone()
- --a.Script:remove()
- a.Position=script.Parent.Position
- a.Parent=script.Parent.Parent
- a.CanCollide=true
- a.Anchored=false
- a.Color = Color3.new (math.random (), math.random (), math.random () )
- a.Reflectance = 0
- yummeyp = 0
- end
- function eat_brecks_pls()
- print("I liek aeting thengs!")
- --yes
- brecksaet = brecksaet + 1
- yummeyp = yummeyp + 1
- if yummeyp == 5 then
- cloneobjectpls()
- end
- print("yummey")
- s:play()
- end
- function onTouched(hit)
- if (hit ~= nil) then
- if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
- if (hit.locked == true) then
- if eatlocked == 1 then
- hit:remove()
- eat_brecks_pls()
- end
- end
- if (hit.Locked == false) then
- hit:remove()
- eat_brecks_pls()
- end
- end
- end
- connection = script.Parent.Touched:connect(onTouched)
- end))
- Decal95.Parent = Part93
- Decal95.Texture = "http://www.roblox.com/asset/?id=171121051"
- PointLight96.Parent = Part93
- PointLight96.Color = Color3.new(1, 0, 0)
- PointLight96.Brightness = 10
- PointLight96.Color = Color3.new(1, 0, 0)
- Script97.Name = "Face"
- Script97.Parent = Part93
- table.insert(cors,sandbox(Script97,function()
- -- declarations
- local head = script.Parent
- local sound = head:findFirstChild("Victory")
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- sound:play()
- if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
- part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound98.Name = "Victory"
- Sound98.Parent = Part93
- Sound98.SoundId = "rbxasset://sounds/victory.wav"
- Sound98.Volume = 0.20000000298023
- Sound99.Name = "Scream"
- Sound99.Parent = Part93
- Sound99.Pitch = 0.69999998807907
- Sound99.Volume = 1
- BodyForce100.Parent = Part93
- BodyForce100.force = Vector3.new(0, 97.5988159, 0)
- Script101.Parent = Part93
- table.insert(cors,sandbox(Script101,function()
- --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
- function onTouched(hit)
- local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
- if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
- human.Health = 0
- human:breakjoint()
- print("pwned lol")
- end--don't mess with this
- end--don't mess with this
- if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
- connection = script.Parent.Touched:connect(onTouched)--don't mess with this
- end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
- end))
- BodyGyro102.Parent = Part93
- Script103.Name = "Expire"
- Script103.Parent = Part93
- table.insert(cors,sandbox(Script103,function()
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BMusic"
- s.SoundId = "rbxasset://sounds/uuhhh.wav"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- print("expire script!!!!! nao u eat brecks.")
- wait(180)
- print("ded")
- s:play()
- self:remove()
- end))
- Script104.Name = "VirusScript"
- Script104.Parent = Part93
- table.insert(cors,sandbox(Script104,function()
- wait(1)
- coroutine.resume(coroutine.create(function()
- wait(1)
- end))
- script.Parent.Touched:connect(function(hit)
- if hit == nil then return end
- if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
- local s = script.InfectedScript:clone()
- local t = script:clone()
- t.Disabled = true
- t.Parent = s
- s.Disabled = false
- s.Parent = hit
- GetTarget()
- end)
- function attack(what)
- if (what.Locked == true) then return end
- while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
- script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
- script.Parent.Velocity = script.Parent.CFrame.lookVector*100
- wait(0.1)
- end
- GetTarget()
- end
- function find(w)
- if #w:GetChildren() == 0 then return end
- for _,v in pairs(w:GetChildren()) do
- if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
- if v.className == "Part" and v.Locked ~= true then
- table.insert(a,v)
- end
- find(v)
- end
- end
- end
- function GetTarget()
- wait(.1)
- a = {}
- find(game.Workspace)
- if #a == 0 then GetTarget()end
- min = 99999
- target = nil
- for _,v in pairs(a) do
- if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
- min = (script.Parent.Position-v.Position).magnitude
- target = v
- end
- end
- if target == nil or target.Locked == true then GetTarget()end
- --found out the problem
- attack(target)
- end
- GetTarget()
- end))
- Script105.Name = "version"
- Script105.Parent = Model91
- table.insert(cors,sandbox(Script105,function()
- print 'version 0.5'
- --figured out how to keep them from eating locked parts
- end))
- Model106.Name = "Yummey!"
- Model106.Parent = Model0
- BoolValue107.Name = "on"
- BoolValue107.Parent = Model106
- BoolValue107.Value = true
- Part108.Name = "Yummey"
- Part108.Parent = Model106
- Part108.Material = Enum.Material.SmoothPlastic
- Part108.BrickColor = BrickColor.new("Bright red")
- Part108.FormFactor = Enum.FormFactor.Symmetric
- Part108.Shape = Enum.PartType.Ball
- Part108.Size = Vector3.new(1, 1, 1)
- Part108.CFrame = CFrame.new(-9.5, 0.5, 23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part108.BottomSurface = Enum.SurfaceType.Smooth
- Part108.TopSurface = Enum.SurfaceType.Smooth
- Part108.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part108.Position = Vector3.new(-9.5, 0.5, 23.5)
- Part108.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script109.Name = "clome"
- Script109.Parent = Part108
- table.insert(cors,sandbox(Script109,function()
- eatlocked = 0 --Leave this as "0", or else it will delete anything locked.
- duplicate = 1 -- set this to 0 if you don't want them to duplicate after eating five parts
- --[[I (kind of) made this script myself, because I copy and pasted
- everything i had in reach.
- i guess this is my first complete script.
- every other script in this model isn't made by me except the expire script.
- I only modified them.
- Modified the VirusScript to prevent the things from eating locked parts.
- ]]--
- local yummeyp = 0
- local brecksaet = 0
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BGMusic"
- s.SoundId = "http://www.roblox.com/asset/?id=16213987"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- s.Parent = script.Parent
- function cloneobjectpls()
- print("clone")
- local a=script.Parent:clone()
- --a.Script:remove()
- a.Position=script.Parent.Position
- a.Parent=script.Parent.Parent
- a.CanCollide=true
- a.Anchored=false
- a.Color = Color3.new (math.random (), math.random (), math.random () )
- a.Reflectance = 0
- yummeyp = 0
- end
- function eat_brecks_pls()
- print("I liek aeting thengs!")
- --yes
- brecksaet = brecksaet + 1
- yummeyp = yummeyp + 1
- if yummeyp == 5 then
- cloneobjectpls()
- end
- print("yummey")
- s:play()
- end
- function onTouched(hit)
- if (hit ~= nil) then
- if (hit.Name == "Yummey") or (hit.Name == "Powerup Box") then return end
- if (hit.locked == true) then
- if eatlocked == 1 then
- hit:remove()
- eat_brecks_pls()
- end
- end
- if (hit.Locked == false) then
- hit:remove()
- eat_brecks_pls()
- end
- end
- end
- connection = script.Parent.Touched:connect(onTouched)
- end))
- Decal110.Parent = Part108
- Decal110.Texture = "http://www.roblox.com/asset/?id=171121051"
- PointLight111.Parent = Part108
- PointLight111.Color = Color3.new(1, 0, 0)
- PointLight111.Brightness = 10
- PointLight111.Color = Color3.new(1, 0, 0)
- Script112.Name = "Face"
- Script112.Parent = Part108
- table.insert(cors,sandbox(Script112,function()
- -- declarations
- local head = script.Parent
- local sound = head:findFirstChild("Victory")
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- sound:play()
- if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
- part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="http://www.roblox.com/asset/?id=171121051"
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound113.Name = "Victory"
- Sound113.Parent = Part108
- Sound113.SoundId = "rbxasset://sounds/victory.wav"
- Sound113.Volume = 0.20000000298023
- Sound114.Name = "Scream"
- Sound114.Parent = Part108
- Sound114.Pitch = 0.69999998807907
- Sound114.Volume = 1
- BodyForce115.Parent = Part108
- BodyForce115.force = Vector3.new(0, 97.5988159, 0)
- Script116.Parent = Part108
- table.insert(cors,sandbox(Script116,function()
- --created by govinda4320.its a another starter script by govinda4320.just read the instructions and if there is a message saying "don't mess with this"then don't mess with it
- function onTouched(hit)
- local human = hit.Parent:FindFirstChild("Humanoid") --this checks if its a robloxian touching the brick
- if (human ~= nil) then --If it is a real robloxian, then the brick kills them.but don't worry robloxiands don't die.and don't mess with this
- human.Health = 0
- human:breakjoint()
- print("pwned lol")
- end--don't mess with this
- end--don't mess with this
- if (script.Parent ~= nil) and (script.Parent.className == "Part") then --this means that is this script is in a smoothblockmodel then the script will work.but don't mess with this
- connection = script.Parent.Touched:connect(onTouched)--don't mess with this
- end--don't mess with dis at all.but if you good scripter then you understand not to mess with it and what it means
- end))
- BodyGyro117.Parent = Part108
- Script118.Name = "Expire"
- Script118.Parent = Part108
- table.insert(cors,sandbox(Script118,function()
- local s = Instance.new("Sound")
- local self = script.Parent
- s.Name = "BMusic"
- s.SoundId = "rbxasset://sounds/uuhhh.wav"
- s.Volume = 1
- s.Pitch = 1
- s.Looped = false
- s.archivable = false
- print("expire script!!!!! nao u eat brecks.")
- wait(180)
- print("ded")
- s:play()
- self:remove()
- end))
- Script119.Name = "VirusScript"
- Script119.Parent = Part108
- table.insert(cors,sandbox(Script119,function()
- wait(1)
- coroutine.resume(coroutine.create(function()
- wait(1)
- end))
- script.Parent.Touched:connect(function(hit)
- if hit == nil then return end
- if hit.Parent == nil or hit.Name == "Virus" or hit:FindFirstChild("InfectedScript") ~= nil then return end
- local s = script.InfectedScript:clone()
- local t = script:clone()
- t.Disabled = true
- t.Parent = s
- s.Disabled = false
- s.Parent = hit
- GetTarget()
- end)
- function attack(what)
- if (what.Locked == true) then return end
- while what ~= nil and what:FindFirstChild("InfectedScript") == nil and what.Parent ~= nil do
- script.Parent.CFrame = CFrame.new(script.Parent.Position,what.Position)
- script.Parent.Velocity = script.Parent.CFrame.lookVector*100
- wait(0.1)
- end
- GetTarget()
- end
- function find(w)
- if #w:GetChildren() == 0 then return end
- for _,v in pairs(w:GetChildren()) do
- if v.Name ~= "Virus" and v:FindFirstChild("VirusScript") == nil then
- if v.className == "Part" and v.Locked ~= true then
- table.insert(a,v)
- end
- find(v)
- end
- end
- end
- function GetTarget()
- wait(.1)
- a = {}
- find(game.Workspace)
- if #a == 0 then GetTarget()end
- min = 99999
- target = nil
- for _,v in pairs(a) do
- if (script.Parent.Position-v.Position).magnitude < min and v.Name ~= "Virus" or v.locked ~= true and v:FindFirstChild("InfectedScript") == nil then
- min = (script.Parent.Position-v.Position).magnitude
- target = v
- end
- end
- if target == nil or target.Locked == true then GetTarget()end
- --found out the problem
- attack(target)
- end
- GetTarget()
- end))
- Script120.Name = "version"
- Script120.Parent = Model106
- table.insert(cors,sandbox(Script120,function()
- print 'version 0.5'
- --figured out how to keep them from eating locked parts
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement