What is here wrong?

game.Workspace.Timer.Changed:Connect(function()
	script.Parent.Text = game.Workspace.Timer.Value
end)

game.Workspace.Timer.Changed:Connect(function()
	if game.Workspace.Timer.Value == 0 then
		script.Parent.Parent.Parent.TPGUI.Frame:TweenPosition(UDim2.new(0.349, 0,0.331, 0))
	end
	
end)

game.Workspace.Simon.Players.Changed:Connect(function()
	local simon = game.Workspace.Simon
	if simon.Players.Value >= 2 then
		script.Parent.Text = "Game is starting in some seconds.."
	else
		script.Parent.Text = "Not enough players to start 2 players are begin needed in 30 Seconds Countdown will restart.."
		game.Workspace.Timeout.Script.Start:InvokeServer()
		
	end
end)

1 comment

0

How can we help if you do not give any info and just post code with whats wrong