Whenever I play the game in Roblox (not studio), the client always pops up an error message.
Error message:
ServerScriptService is not a valid member of DataModel
Script:
wait(10) print("LoadMapScript activated") ReplicatedStorage = game:GetService("ReplicatedStorage") ServerScriptService = game:GetService("ServerScriptService") win = game.ServerScriptService.values:WaitForChild("win") mapvalue = game.ServerScriptService.values:WaitForChild("mapvalue") win.Value = 2
The client cannot access server script service nor server storage. Put any content that the client needs access to in game.ReplicatedStorage
I suggest trying remote events though if you want a non-experimental mode (filtering enabled) game.