Script not messaging chat

Hello, for like the 34th time. If you read my last post and read the comments, I scraped an idea and wanted to make a new one. However, the script does not work. There are no errors as well. I have copied the repeat section from another topic that was made 2 - 3 years ago. I think the script is outdated but, I’m a beginner so, I have no idea.

if script.Check.Value == 1 then
		repeat
			wait() 
			local Success = pcall(function()
				StarterGui:SetCore("ChatMakeSystemMessage", {
					Text = "Tornado has begun!"; 
					Color = Color3.fromRGB(255, 45, 75); 
					Font = Enum.Font.GothamSemibold; 
					TextSize = 18 
				})
			end)
		until Success 
	end
	
	
	if script.Check.Value == 0 then
		repeat
			wait() 
			local Success = pcall(function()
				StarterGui:SetCore("ChatMakeSystemMessage", {
					Text = "Tornado has stopped"; 
					Color = Color3.fromRGB(255, 45, 75); 
					Font = Enum.Font.GothamSemibold; 
					TextSize = 18 
				})
			end)
		until Success 
	end 

Thank you!

Is the script serverside?

This text will be blurred

Its for the server not for the client. ( or like the entire server sees it)