for some reason this doesn't work

regen = game.ReplicatedStorage:GetChildren()

h = Instance.new("Hint",game.Workspace)
while true do
for i = 30, 0, -1 do
	wait(1)
	h.Text = "Time Until Snow Falls:".." "..i
	if i == 0 then
		h.Text = "Oh no! Snow covered the ground...again"
		for i, v in pairs(regen)do
			if v.Name == "Snow" then
			v.Parent = game.Workspace
				end
			end
		end
	end
end

5 comments

0

What does, "doesn't work" mean?

0

means that the snow in replicated storage can't be transferred back to workspace

0

What do you mean by "can't" and what do you mean by "back"?

0

ok.. so when the snow is in replicated storage, in the script, a command makes it cut out of replicated storage back into workspace. But that part of the script doesn't work. Thats what i mean .-.

0

I believe the problem here is that there is no snow. Try doing v:Clone().Parent = workspace