so, I updated my old script none of my other answers worked. Here is my old script:
1 | if game.ReplicatedStorage.MapLoader.Value = = "map1" then |
2 |
3 | print ( "Test" ) |
4 |
5 | end |
So here is my updated version, still does not work. Pls help.
1 | local MapLoader = game.ReplicatedStorage:WaitForChild( "MapLoader" ) |
2 |
3 | if MapLoader.Value = = "map1" then |
4 |
5 | print ( "Test" ) |
6 |
7 | end |
(Its a local script)
This script works. I messed up on the script that changed the value of the map loader.