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)
maybe this could work
local Map = game.ReplicatedStorage:WaitForChild("MapLoader") Map.GetPropertyChangedSignal("Value"):Connect(function() if Map.Value == "map1" then print("Tgay") end end)