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

Why wont this local script located in starter gui read my string value?

Asked by 5 years ago
Edited 5 years ago

Why wont this work I am trying to get this script to read my string value so i can load a map pls help

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

Map.Changed:Connect(function()

    if Map.Value == "map1" then

        print("Tgay")

    end

end) --i got it working anyone who answers BIG CHUNGUS will get correct answer 
0
i'm gonna say it Optikk 499 — 5y

4 answers

Log in to vote
3
Answered by
ee0w 458 Moderation Voter
5 years ago

big chungus

Just delete your question.

Ad
Log in to vote
3
Answered by 5 years ago

BIG CHUNGUS

The script should be working 100% ok from what I see, whats making it not work is in a difrent script. Check to see if map is a StringValue or if whatever makes it is correctly working.

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago

Big CHUNGUS

NOW GIVE ME THAT REPUTATION NOW

Log in to vote
0
Answered by 5 years ago

I got it working

Answer this question