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)

1 comment
BTW it's not in startergui when you hit "Play" it's in PlayerGui