When I try to use this intermission gui coding it doesn't work, could someone please help me out. This is only the case on roblox studio 2017 and not on the older versions for some reason.

Here is the main script -

local replicatedstorage = game:GetService('ReplicatedStorage') local status = replicatedstorage:WaitForChild('InfoValue') local mapstorage = game.Workspace:WaitForChild('mapStorage') while true do

while game.Players.NumPlayers > 2 do status.Value = 'There needs to be 2 or more players to begin' repeat wait(2) until game.Players.NumPlayers >= 2 end

for i = 15,0,-1 do status.Value = 'Intermission '..i wait(1) end

local mapsinserverstorage = game:GetService('ServerStorage'):GetChildren() local chosenmap = mapsinserverstorage[math.random(1, #mapsinserverstorage)] chosenmap:Clone --> And the Parent = Mapstorage wait(15) mapstorage:ClearAllChildren() end

Finally I have the local script -

local replicatedstorage = game:GetService('ReplicatedStorage') local status = replicatedstorage:WaitForChild('InfoValue')

script.Parent.Text = status.Value status.Changed:connect(function() script.Parent.Text = status.Value end)


1 comment

1

Please use code block.