OK, I am making a Tycoon and it is working great right now.
When I get into the tycoon about half way through the conveyor belts start to mess up
They start to slow down and pause some, like Lag...
It cause the blocks to pile up...
Now to stop this from happening I changed the drop time to increase the time between drops, just increased the cash of the drops
but no matter what I change the time to it still does the same thing.
How can I fix that problem?
all the code that I have works fine...
just normal drop code as well as normal belt code.. Nothing special.
Dropper code
wait(2)
while true do
wait(2.5)
local part = Instance.new("Part",workspace)
local cash = Instance.new("IntValue",part)
cash.Name = "Cash"
cash.Value = 20
part.CFrame = script.Parent.Drop.CFrame
part.Size=Vector3.new(1,1,1)
local nMesh = Instance.new("SpecialMesh", part)
nMesh.MeshType = "FileMesh"
nMesh.MeshId = "http://www.roblox.com/asset/?id=19059116"
nMesh.TextureId = "http://www.roblox.com/asset/?id=19059111"
a = part
game.Debris:AddItem(part,60)
end
if a ~= nil then
wait(5)
a:Destroy()
end
belt code
while 2 > 1 do
script.Parent.Velocity = script.Parent.CFrame.lookVector*15
wait(0.2)
end
any help would be great.... thanks!

1 comment
Make sure you dont have any 'Viruses' in your game. These can be in any free model you put into your place and they slow down the game a lot.