Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why wont script change string value?

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)

1 comment

0

Can you give the location of the script, and the type of script?

1 answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.