Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

ReplicatedStorage not working?

Asked by 9 years ago

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
0
What does, "doesn't work" mean? BlueTaslem 18071 — 9y
0
means that the snow in replicated storage can't be transferred back to workspace NonSpace 0 — 9y
0
What do you mean by "can't" and what do you mean by "back"? BlueTaslem 18071 — 9y
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 .-. NonSpace 0 — 9y
0
I believe the problem here is that there is no snow. Try doing v:Clone().Parent = workspace Lacryma 548 — 9y

Answer this question