This script doesn't randomly move the model in a given area
It clones a model from ReplicatedStorage and moves the model workspace and is then randomly placed in a given area.
Any fix?
(there isn't any error output either)
code looks a little less organized here but heres an image
local shelfcloud = game.ReplicatedStorage.Clouds.Low_Level_Clouds["Shelf Cloud"]
local cumulus = game.ReplicatedStorage.Clouds.Low_Level_Clouds.Cumulus
local stratus = game.ReplicatedStorage.Clouds.Low_Level_Clouds.Stratus
local stratocumulus = game.ReplicatedStorage.Clouds.Low_Level_Clouds.Stratocumulus
wait(0.8)
while true do
local cloud = math.random(2000)
if cloud < 800 then
game.ReplicatedStorage.Clouds.Low_Level_Clouds.Cumulus:Clone().Parent = workspace
game.ReplicatedStorage.Clouds.Low_Level_Clouds.Cumulus:MoveTo(Vector3.new(math.random(-10239.5,14335.5),math.random(1655.5,2283.5),math.random(-14335.5,10239.5)))
end
if cloud < 900 then
game.ReplicatedStorage.Clouds.Low_Level_Clouds.Stratus:Clone().Parent = workspace
game.ReplicatedStorage.Clouds.Low_Level_Clouds.Stratus:MoveTo(Vector3.new(math.random(-10239.5,14335.5),math.random(1655.5,2283.5),math.random(-14335.5,10239.5)))
end
if cloud < 1200 then
game.ReplicatedStorage.Clouds.Low_Level_Clouds.Nimbostratus:Clone().Parent = workspace
game.ReplicatedStorage.Clouds.Low_Level_Clouds.Nimbostratus:MoveTo(Vector3.new(math.random(-10239.5,14335.5),math.random(1655.5,2283.5),math.random(-14335.5,10239.5)))
end
wait(math.random(0.8,16))
end

2 comments
Learn to use variables.
I'm still new at learning variables, so saying that to me isn't helping.