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

Why wont script change string value?

Asked by 5 years ago
Edited 5 years ago

Why wont my script change my string value? First I add my string location:

local MapLoader = game.ReplicatedStorage:WaitForChild("MapLoader")

then I have a while true do:

while true do

    --other script and a few waits
    MapLoader.Value = "map1"
    --more script and a few waits

end

For a little more info on the other parts of script go here: https://scriptinghelpers.org/questions/73465/why-wont-my-string-value-changer-at-line-15-work

I have in the other parts of the script string value changers and they all work but this one. Why wont this work?

(all my string values are in replicated storage) (Its a regular script in Workspace)

0
Can you give the location of the script, and the type of script? ProjectJager 62 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Objects in ReplicatedStorage are most likely for cloning or for RemoteEvents.

Ad

Answer this question