I’m trying to make a survival game. Right now I’m trying to make a terrain generator (but not Roblox’s one).
So far there are no errors, but nothing is happening, it isn’t cloning the Grass.
local Grass = game.Workspace.Grass
function cloneGrass()
GrassClone = Grass:Clone()
end
function spawnGrass()
for count = 1,2 do
cloneGrass()
GrassClone.CFrame = Grass.CFrame + Vector3.new(0.5, 0, 0.5)
end
end
while wait(3) do
spawnGrass()
end