I am designing a cool unique tycoon with rounds in it, and I have a simple script made however it won't show the text on the intermission gui.

Any help will be appreciated!

I really want this to work, and I don't get any errors. Thanks! Original Script

local players = game:GetService("Players")
local player = players.LocalPlayer
local name = player.Name
local character = player:WaitForChild("Character")
local torso = character:WaitForChild("Torso")
local humanoid = character:WaitForChild("Humanoid")
local health = humanoid.Health
local maxHealth = humanoid.MaxHealth
local playerGui = player:WaitForChild("PlayerGui")
local gui = playerGui:WaitForChild("RoundUi")

local gameObjs = game.Workspace

local segmentZero = script.Parent.SegmentZero
local segmentOne = script.Parent.SegmentOne
local segmentTwo = script.Parent.SegmentTwo
local segmentThree = script.Parent.SegmentThree

local currentSeg = script.Parent.CurrentSegment

--[[
local zeroTime = 120 -- Preparing for the Next Round
local oneTime = 300 -- The beginning 5 minutes to begin preparations
local twoTime = 1500 -- The chunk of time for the round, 25 minutes to fight and win
local threeTime = 60 -- A minute to announce the winner or a draw if more than one winner
]]--

local minZero = 2
local minOne = 5
local minTwo = 25
local minThree = 1
--[[ 
	If there is a draw it will eventually lead to sudden death instead of a draw,
	only a draw will be given if there are multiple winners in sudden death.
]]--
local counter = script.Parent.Counter
local inter = counter.Intermission
local winner = counter.Winner
wait(1)
currentSeg.Value = 0
segmentZero.Value = 120
segmentOne.Value = 300
segmentTwo.Value = 1500
segmentThree.Value = 60
wait(0.1)
-- Segment Zero
if currentSeg.Value == 0 then
	if segmentZero.Value == 120 then
		winner.Text = " "
		wait(0.1)
		winner.Visible = false
		repeat segmentZero.Value = segmentZero.Value - 1 until segmentZero.Value == 0
		inter.Text = "Preparing! The Round Will Commense in "..segmentZero.Value.." Seconds!"
		if segmentZero.Value == 0 then
			currentSeg.Value = 1
		end
	end
end
-- Segment One
if currentSeg.Value == 1 then
	if segmentOne.Value == 300 then
		repeat segmentOne.Value = segmentOne.Value - 1 until segmentOne.Value == 0
		inter.Text = "Segment Two Will Commense in "..segmentOne.Value.." Seconds!"
		if segmentOne.Value == 0 then
			currentSeg.Value = 2
		end
	end
end
-- Segment Two
if currentSeg.Value == 2 then
	if segmentTwo.Value == 1500 then
		repeat segmentTwo.Value = segmentTwo.Value - 1 until segmentTwo.Value == 0
		inter.Text = "Segment Three Will Commense in "..segmentTwo.Value.." Seconds!"
		if segmentTwo.Value == 0 then
			currentSeg.Value = 3
		end
	end
end
-- Segment Three
if currentSeg.Value == 3 then
	if segmentThree.Value == 60 then
		repeat segmentThree.Value = segmentThree.Value -1 until segmentThree.Value == 0
		inter.Text = "This Round Will End in "..segmentThree.Value.." Seconds!"
		if segmentThree.Value == 0 then
			wait(0.5)
			winner.Visible = true
			winner.Text = name
			wait(2)
			currentSeg.Value = 0
		end
	end
end

1 comment

0

is inter visible by default because i dont see you defining it visible when you change the text on line 53