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

ReplicatedStorage not working?

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

Answer this question