Help with tween

How do i tween the color but if the ‘else’ is trigged it will tween it the other color even if between mid color change as this function is trigged alot

local player = game.Players.LocalPlayer
local hrp = game.Workspace:WaitForChild(player.Name):WaitForChild("HumanoidRootPart")
game:GetService("RunService").Heartbeat:Connect(function()
	local ray = Ray.new(hrp.Position, hrp.CFrame.UpVector* -500)
	local part = workspace:FindPartOnRayWithWhitelist(ray, {workspace.Spawn.SpawnNeon})
	if part then
		game.Workspace.Spawn.SpawnNeon.Color = Color3.new(0, 1, 1)

	else
		game.Workspace.Spawn.SpawnNeon.Color = Color3.new(1, 0.243137, 0.054902)
	end
end)

Where is the tween at in the script?