No errors, just wont work. This is a server script inside ReplicatedStorage.
game.Workspace.ReplicatedStorage.Values.NextRoundLoad.Changed:connect(function()
if game.Workspace.ReplicatedStorage.Values.NextRoundLoad.Value==true then
local n=math.random(1)
if n==1 then
script.Parent.Value=game.ReplicatedStorage.Maps.Asylum.Name
end
end
end)
This is the setup: http://prntscr.com/jtccz3
